Changeset 08e5bb2
- Timestamp:
- 2009-11-19T18:50:53Z (15 years ago)
- Branches:
- master
- Children:
- be609ff
- Parents:
- 20e830b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber_util.c
r20e830b r08e5bb2 420 420 if( ( s = strchr( jid, '/' ) ) ) 421 421 { 422 int bare_exists = 0; 423 422 424 *s = 0; 423 425 if( ( bud = g_hash_table_lookup( jd->buddies, jid ) ) ) 424 426 { 427 bare_exists = 1; 428 425 429 if( bud->next ) 426 430 bud = bud->next; … … 448 452 } 449 453 450 if( bud == NULL && ( flags & GET_BUDDY_CREAT ) && imcb_find_buddy( ic, jid ) ) 454 if( bud == NULL && ( flags & GET_BUDDY_CREAT ) && 455 ( imcb_find_buddy( ic, jid ) || bare_exists ) ) 451 456 { 452 457 *s = '/';
Note: See TracChangeset
for help on using the changeset viewer.