Changeset 54f2f55 for protocols/jabber


Ignore:
Timestamp:
2007-06-04T11:45:33Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d06eabf
Parents:
bb95d43
Message:

Now anonymous rooms should really work. This makes sure the self-join will
actually be recognized properly. This is running on my work machine for
a few days already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    rbb95d43 r54f2f55  
    145145                if( bud->ext_jid == NULL )
    146146                {
    147                         /* Don't want the nick to be at the end, so let's
    148                            think of some slightly different notation to use
    149                            for anonymous groupchat participants in BitlBee. */
    150                         bud->ext_jid = g_strdup_printf( "%s=%s", bud->resource, bud->bare_jid );
     147                        if( bud == jc->me )
     148                                bud->ext_jid = g_strdup( ic->acc->user );
     149                        else
     150                                /* Don't want the nick to be at the end, so let's
     151                                   think of some slightly different notation to use
     152                                   for anonymous groupchat participants in BitlBee. */
     153                                bud->ext_jid = g_strdup_printf( "%s=%s", bud->resource, bud->bare_jid );
     154                       
    151155                        bud->flags |= JBFLAG_IS_ANONYMOUS;
    152156                }
Note: See TracChangeset for help on using the changeset viewer.