diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-04 14:36:08 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-04 14:36:08 +0100 |
commit | 5c7b45cb652c73a8f2c827116786a1b21519d4b7 (patch) | |
tree | edb85f01baa6a661f454f0f20f5382a9232e38c1 /protocols/nogaim.c | |
parent | c8eeadd72286b87cc1638e388669e00e8c8b9f1e (diff) |
Auto joins for chatrooms.
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r-- | protocols/nogaim.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c index f88ec693..0998291b 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -286,6 +286,9 @@ void imcb_connected( struct im_connection *ic ) exponential backoff timer. */ ic->acc->auto_reconnect_delay = 0; + if( ic->bee->ui->imc_connected ) + ic->bee->ui->imc_connected( ic ); + /* for( c = irc->chatrooms; c; c = c->next ) { @@ -328,6 +331,9 @@ void imc_logout( struct im_connection *ic, int allow_reconnect ) else ic->flags |= OPT_LOGGING_OUT; + if( ic->bee->ui->imc_disconnected ) + ic->bee->ui->imc_disconnected( ic ); + imcb_log( ic, "Signing off.." ); b_event_remove( ic->keepalive ); |