aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_user.c
diff options
context:
space:
mode:
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;
}