Changeset 17a6ee9 for protocols/jabber/jabber_util.c
- Timestamp:
- 2010-04-11T14:37:06Z (15 years ago)
- Branches:
- master
- Children:
- a87e6ba
- Parents:
- 1f92a58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber_util.c
r1f92a58 r17a6ee9 279 279 presence_send_request( bla->ic, bla->handle, "subscribed" ); 280 280 281 if( imcb_find_buddy( bla->ic, bla->handle ) == NULL ) 282 imcb_ask_add( bla->ic, bla->handle, NULL ); 281 imcb_ask_add( bla->ic, bla->handle, NULL ); 283 282 284 283 g_free( bla->handle ); … … 462 461 463 462 if( bud == NULL && ( flags & GET_BUDDY_CREAT ) && 464 ( bare_exists || imcb_find_buddy(ic, jid ) ) )463 ( bare_exists || bee_user_by_handle( ic->bee, ic, jid ) ) ) 465 464 { 466 465 *s = '/'; … … 483 482 if( bud == NULL ) 484 483 /* No match. Create it now? */ 485 return ( ( flags & GET_BUDDY_CREAT ) && imcb_find_buddy( ic, jid_ ) ) ? 484 return ( ( flags & GET_BUDDY_CREAT ) && 485 bee_user_by_handle( ic->bee, ic, jid_ ) ) ? 486 486 jabber_buddy_add( ic, jid_ ) : NULL; 487 487 else if( bud->resource && ( flags & GET_BUDDY_EXACT ) )
Note: See TracChangeset
for help on using the changeset viewer.