- Timestamp:
- 2010-04-02T02:03:50Z (15 years ago)
- Branches:
- master
- Children:
- fb117aee
- Parents:
- d860a8d
- Location:
- protocols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee.h
rd860a8d re63507a 45 45 typedef enum 46 46 { 47 BEE_USER_ONLINE = 1, 48 BEE_USER_AWAY = 2,47 BEE_USER_ONLINE = 1, /* Compatibility with old OPT_LOGGED_IN flag */ 48 BEE_USER_AWAY = 4, /* Compatibility with old OPT_AWAY flag */ 49 49 } bee_user_flags_t; 50 50 -
protocols/bee_user.c
rd860a8d re63507a 129 129 130 130 /* TODO(wilmer): OPT_AWAY, or just state == NULL ? */ 131 bu->flags = ( flags & OPT_LOGGED_IN ? BEE_USER_ONLINE : 0 ) | 132 ( flags & OPT_AWAY ? BEE_USER_AWAY : 0 ); 131 bu->flags = flags; 133 132 bu->status = g_strdup( ( flags & OPT_AWAY ) && state == NULL ? "Away" : state ); 134 133 bu->status_msg = g_strdup( message );
Note: See TracChangeset
for help on using the changeset viewer.