- Timestamp:
- 2007-04-21T05:18:40Z (18 years ago)
- Branches:
- master
- Children:
- c737ba7
- Parents:
- 17fa798
- Location:
- protocols
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
r17fa798 rdf1fb67 358 358 int st; 359 359 360 if( typing == 0 ) 360 if( typing & OPT_TYPING ) 361 type = "composing"; 362 else if( typing & OPT_THINKING ) 363 type = "paused"; 364 else 361 365 type = "active"; 362 else if( typing == 2 )363 type = "paused";364 else /* if( typing == 1 ) */365 type = "composing";366 366 367 367 node = xt_new_node( type, NULL, NULL ); -
protocols/msn/msn.c
r17fa798 rdf1fb67 342 342 static int msn_send_typing( struct im_connection *ic, char *who, int typing ) 343 343 { 344 if( typing )344 if( typing & OPT_TYPING ) 345 345 return( msn_buddy_msg( ic, who, TYPING_NOTIFICATION_MESSAGE, 0 ) ); 346 346 else -
protocols/nogaim.h
r17fa798 rdf1fb67 61 61 #define OPT_AWAY 0x00000004 62 62 #define OPT_DOES_HTML 0x00000010 63 #define OPT_TYPING 0x00000100 64 #define OPT_THINKING 0x00000200 63 #define OPT_TYPING 0x00000100 /* Some pieces of code make assumptions */ 64 #define OPT_THINKING 0x00000200 /* about these values... Stupid me! */ 65 65 66 66 /* ok. now the fun begins. first we create a connection structure */ -
protocols/oscar/oscar.c
r17fa798 rdf1fb67 2448 2448 { 2449 2449 struct oscar_data *od = ic->proto_data; 2450 return( aim_im_sendmtn(od->sess, 1, who, typing? 0x0002 : 0x0000) );2450 return( aim_im_sendmtn(od->sess, 1, who, (typing & OPT_TYPING) ? 0x0002 : 0x0000) ); 2451 2451 } 2452 2452 -
protocols/yahoo/yahoo.c
r17fa798 rdf1fb67 187 187 struct byahoo_data *yd = ic->proto_data; 188 188 189 yahoo_send_typing( yd->y2_id, NULL, who, typing);189 yahoo_send_typing( yd->y2_id, NULL, who, ( typing & OPT_TYPING ) != 0 ); 190 190 191 191 return 1;
Note: See TracChangeset
for help on using the changeset viewer.