Changeset 3e7b640
- Timestamp:
- 2009-11-28T00:47:20Z (15 years ago)
- Branches:
- master
- Children:
- 5674207
- Parents:
- 487f555
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
r487f555 r3e7b640 380 380 static void prplcb_blist_remove( PurpleBuddyList *list, PurpleBlistNode *node ) 381 381 { 382 /* 382 383 PurpleBuddy *bud = (PurpleBuddy*) node; 383 384 384 /*385 385 if( node->type == PURPLE_BLIST_BUDDY_NODE ) 386 386 { … … 407 407 { 408 408 struct im_connection *ic = purple_ic_by_pa( conv->account ); 409 PurpleBuddy *buddy; 409 410 410 411 /* ..._SEND means it's an outgoing message, no need to echo those. */ 411 if( !( flags & PURPLE_MESSAGE_SEND ) ) 412 imcb_buddy_msg( ic, (char*) who, (char*) message, 0, mtime ); 412 if( flags & PURPLE_MESSAGE_SEND ) 413 return; 414 415 buddy = purple_find_buddy( conv->account, who ); 416 if( buddy != NULL ) 417 who = purple_buddy_get_contact_alias( buddy ); 418 419 imcb_buddy_msg( ic, (char*) who, (char*) message, 0, mtime ); 413 420 } 414 421
Note: See TracChangeset
for help on using the changeset viewer.