- Timestamp:
- 2009-10-11T11:26:09Z (15 years ago)
- Branches:
- master
- Children:
- db4cd40
- Parents:
- 4164e62
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
r4164e62 r4f103ea 138 138 purple_ui_init, 139 139 NULL, 140 141 /* padding */142 NULL,143 NULL,144 NULL,145 NULL146 140 }; 147 141 … … 221 215 if( node->type == PURPLE_BLIST_BUDDY_NODE && ic != NULL ) 222 216 { 223 imcb_buddy_status( ic, bud->name, 224 purple_presence_is_online( bud->presence ) ? OPT_LOGGED_IN : 0, 225 NULL, NULL ); 217 PurpleStatus *as; 218 int flags = 0; 219 220 flags |= purple_presence_is_online( bud->presence ) ? OPT_LOGGED_IN : 0; 221 flags |= purple_presence_is_available( bud->presence ) ? 0 : OPT_AWAY; 222 223 as = purple_presence_get_active_status( bud->presence ); 224 225 imcb_buddy_status( ic, bud->name, flags, purple_status_get_name( as ), 226 purple_status_get_attr_string( as, "message" ) ); 226 227 } 227 228 }
Note: See TracChangeset
for help on using the changeset viewer.