Changes in protocols/jabber/conference.c [41e0c00:58f5ef7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/conference.c
r41e0c00 r58f5ef7 274 274 } 275 275 276 if( bud != jc->me && bud->flags & JBFLAG_IS_ANONYMOUS ) 277 { 278 /* If JIDs are anonymized, add them to the local 279 list for the duration of this chat. */ 276 if( bud != jc->me ) 277 { 280 278 imcb_add_buddy( ic, bud->ext_jid, NULL ); 281 279 imcb_buddy_nick_hint( ic, bud->ext_jid, bud->resource ); … … 311 309 struct jabber_chat *jc = chat ? chat->data : NULL; 312 310 char *s; 313 314 if( subject && chat )315 {316 s = bud ? strchr( bud->ext_jid, '/' ) : NULL;317 if( s ) *s = 0;318 imcb_chat_topic( chat, bud ? bud->ext_jid : NULL, subject->text_len > 0 ?319 subject->text : NULL, jabber_get_timestamp( node ) );320 if( s ) *s = '/';321 }322 311 323 312 if( bud == NULL || ( jc && ~jc->flags & JCFLAG_MESSAGE_SENT && bud == jc->me ) ) … … 375 364 return; 376 365 } 366 367 if( subject ) 368 { 369 s = strchr( bud->ext_jid, '/' ); 370 if( s ) *s = 0; 371 imcb_chat_topic( chat, bud->ext_jid, subject->text_len > 0 ? 372 subject->text : NULL, jabber_get_timestamp( node ) ); 373 if( s ) *s = '/'; 374 } 377 375 if( body && body->text_len > 0 ) 378 376 {
Note: See TracChangeset
for help on using the changeset viewer.