aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_user.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-04 09:45:10 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-04 09:45:10 +0100
commiteb504957c2ffa1a3130951d5381672fb3ef9dfd9 (patch)
tree25f88e020a30b762d70c8c88b00a39a2342786ed /protocols/bee_user.c
parent9893da32ab881e135748295fc5c48aada552098b (diff)
Show offline/away status better in /WHO and /WHOIS.
Diffstat (limited to 'protocols/bee_user.c')
-rw-r--r--protocols/bee_user.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/bee_user.c b/protocols/bee_user.c
index 8db2fa28..0dd40cab 100644
--- a/protocols/bee_user.c
+++ b/protocols/bee_user.c
@@ -42,6 +42,9 @@ bee_user_t *bee_user_new( bee_t *bee, struct im_connection *ic, const char *hand
if( bee->ui->user_new )
bee->ui->user_new( bee, bu );
+ /* Offline by default. This will set the right flags. */
+ imcb_buddy_status( ic, handle, 0, NULL, NULL );
+
return bu;
}