From e63507a356ac94085bcd00048b81d3ce2f27f287 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 1 Apr 2010 22:03:50 -0400 Subject: Synced the values of some old OPT_* flags with BEE_USER_*. --- protocols/bee_user.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/bee_user.c') diff --git a/protocols/bee_user.c b/protocols/bee_user.c index 66e25faf..32022dd8 100644 --- a/protocols/bee_user.c +++ b/protocols/bee_user.c @@ -128,8 +128,7 @@ void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags, old = g_memdup( bu, sizeof( bee_user_t ) ); /* TODO(wilmer): OPT_AWAY, or just state == NULL ? */ - bu->flags = ( flags & OPT_LOGGED_IN ? BEE_USER_ONLINE : 0 ) | - ( flags & OPT_AWAY ? BEE_USER_AWAY : 0 ); + bu->flags = flags; bu->status = g_strdup( ( flags & OPT_AWAY ) && state == NULL ? "Away" : state ); bu->status_msg = g_strdup( message ); -- cgit v1.2.3