Changeset 696 for trunk/sm/pres.c
- Timestamp:
- 02/09/08 16:10:19 (4 months ago)
- Files:
-
- 1 modified
-
trunk/sm/pres.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sm/pres.c
r436 r696 347 347 item_t item; 348 348 349 /* get roster item with bare jid*/ 350 item = xhash_get(user->roster, jid_user(jid)); 351 352 /* retry with full jid if not found */ 353 if(!item) 354 item = xhash_get(user->roster, jid_full(jid)); 355 349 356 /* trusted if they're in the roster and they can see us */ 350 item = xhash_get(user->roster, jid_user(jid));351 357 if(item != NULL && item->from) 352 358 return 1;
