Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    r58f5ef7 re73a501  
    9292{
    9393        char *normalized = jabber_normalize( name );
    94         GSList *l;
    9594        struct groupchat *ret;
    9695        struct jabber_chat *jc;
    9796       
    98         for( l = ic->groupchats; l; l = l->next )
    99         {
    100                 ret = l->data;
     97        for( ret = ic->groupchats; ret; ret = ret->next )
     98        {
    10199                jc = ret->data;
    102100                if( strcmp( normalized, jc->name ) == 0 )
     
    105103        g_free( normalized );
    106104       
    107         return l ? ret : NULL;
     105        return ret;
    108106}
    109107
     
    274272                }
    275273               
    276                 if( bud != jc->me )
    277                 {
     274                if( bud != jc->me && bud->flags & JBFLAG_IS_ANONYMOUS )
     275                {
     276                        /* If JIDs are anonymized, add them to the local
     277                           list for the duration of this chat. */
    278278                        imcb_add_buddy( ic, bud->ext_jid, NULL );
    279279                        imcb_buddy_nick_hint( ic, bud->ext_jid, bud->resource );
Note: See TracChangeset for help on using the changeset viewer.