diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-06-09 03:52:28 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-06-09 03:52:28 +0200 |
commit | c4a1036214c5f5c1ce14e937e8cdabc9fdf2c068 (patch) | |
tree | c9efb246958cf81ed2d977f8d00499a136a1b23a /protocols/yahoo/yahoo.c | |
parent | e46e077ccbe5e3e13637618934a0f7979db6bc69 (diff) | |
parent | 783e9b76de9a8ec16e8229d7c476b16ba8011554 (diff) |
Merge integration branch.
Diffstat (limited to 'protocols/yahoo/yahoo.c')
-rw-r--r-- | protocols/yahoo/yahoo.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index 36579d66..ab30df4d 100644 --- a/protocols/yahoo/yahoo.c +++ b/protocols/yahoo/yahoo.c @@ -796,16 +796,20 @@ int ext_yahoo_connect(const char *host, int port) return -1; } -static void byahoo_accept_conf( gpointer w, struct byahoo_conf_invitation *inv ) +static void byahoo_accept_conf( void *data ) { + struct byahoo_conf_invitation *inv = data; + yahoo_conference_logon( inv->yid, NULL, inv->members, inv->name ); imcb_chat_add_buddy( inv->c, inv->ic->acc->user ); g_free( inv->name ); g_free( inv ); } -static void byahoo_reject_conf( gpointer w, struct byahoo_conf_invitation *inv ) +static void byahoo_reject_conf( void *data ) { + struct byahoo_conf_invitation *inv = data; + yahoo_conference_decline( inv->yid, NULL, inv->members, inv->name, "User rejected groupchat" ); imcb_chat_free( inv->c ); g_free( inv->name ); |