Changes in protocols/jabber/conference.c [58f5ef7:41e0c00]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/conference.c
r58f5ef7 r41e0c00 274 274 } 275 275 276 if( bud != jc->me ) 277 { 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. */ 278 280 imcb_add_buddy( ic, bud->ext_jid, NULL ); 279 281 imcb_buddy_nick_hint( ic, bud->ext_jid, bud->resource ); … … 309 311 struct jabber_chat *jc = chat ? chat->data : NULL; 310 312 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 } 311 322 312 323 if( bud == NULL || ( jc && ~jc->flags & JCFLAG_MESSAGE_SENT && bud == jc->me ) ) … … 364 375 return; 365 376 } 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 }375 377 if( body && body->text_len > 0 ) 376 378 {
Note: See TracChangeset
for help on using the changeset viewer.