Changeset 487f555 for protocols/purple
- Timestamp:
- 2009-11-26T00:04:40Z (15 years ago)
- Branches:
- master
- Children:
- 3e7b640
- Parents:
- e5d8d21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
re5d8d21 r487f555 243 243 } 244 244 245 static int purple_send_typing( struct im_connection *ic, char *who, int typing ) 246 { 247 return 1; 245 static int purple_send_typing( struct im_connection *ic, char *who, int flags ) 246 { 247 PurpleTypingState state = PURPLE_NOT_TYPING; 248 PurpleConversation *conv; 249 250 if( flags & OPT_TYPING ) 251 state = PURPLE_TYPING; 252 else if( flags & OPT_THINKING ) 253 state = PURPLE_TYPED; 254 255 if( ( conv = purple_find_conversation_with_account( PURPLE_CONV_TYPE_IM, 256 who, ic->proto_data ) ) == NULL ) 257 { 258 purple_conv_im_set_typing_state( purple_conversation_get_im_data( conv ), state ); 259 return 1; 260 } 261 else 262 { 263 return 0; 264 } 248 265 } 249 266
Note: See TracChangeset
for help on using the changeset viewer.