Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    r41e0c00 r58f5ef7  
    274274                }
    275275               
    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                {
    280278                        imcb_add_buddy( ic, bud->ext_jid, NULL );
    281279                        imcb_buddy_nick_hint( ic, bud->ext_jid, bud->resource );
     
    311309        struct jabber_chat *jc = chat ? chat->data : NULL;
    312310        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         }
    322311       
    323312        if( bud == NULL || ( jc && ~jc->flags & JCFLAG_MESSAGE_SENT && bud == jc->me ) )
     
    375364                return;
    376365        }
     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        }
    377375        if( body && body->text_len > 0 )
    378376        {
Note: See TracChangeset for help on using the changeset viewer.