comparison src/server.c @ 9514:1fac0336890c

[gaim-migrate @ 10341] Gary Kramlich writes: " This patch modifies the chat-invited signal to also give out the GHashTable of the chat components so a call back can successful join a chat when the signal is emited." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 12 Jul 2004 02:40:12 +0000
parents 2c7dcb5851f4
children fe35f55ee984
comparison
equal deleted inserted replaced
9513:ac94e3f5ac8a 9514:1fac0336890c
1439 struct chat_invite_data *cid = g_new0(struct chat_invite_data, 1); 1439 struct chat_invite_data *cid = g_new0(struct chat_invite_data, 1);
1440 1440
1441 account = gaim_connection_get_account(gc); 1441 account = gaim_connection_get_account(gc);
1442 1442
1443 gaim_signal_emit(gaim_conversations_get_handle(), 1443 gaim_signal_emit(gaim_conversations_get_handle(),
1444 "chat-invited", account, who, name, message); 1444 "chat-invited", account, who, name, message, data);
1445 1445
1446 if (message) 1446 if (message)
1447 g_snprintf(buf2, sizeof(buf2), 1447 g_snprintf(buf2, sizeof(buf2),
1448 _("User '%s' invites %s to buddy chat room: '%s'\n%s"), 1448 _("User '%s' invites %s to buddy chat room: '%s'\n%s"),
1449 who, gaim_account_get_username(account), name, message); 1449 who, gaim_account_get_username(account), name, message);