| 797 g_snprintf(buf2, sizeof(buf2), |
797 g_snprintf(buf2, sizeof(buf2), |
| 798 _("%s has invited %s to the chat room %s\n"), |
798 _("%s has invited %s to the chat room %s\n"), |
| 799 who, purple_account_get_username(account), name); |
799 who, purple_account_get_username(account), name); |
| 800 |
800 |
| 801 |
801 |
| 802 purple_request_accept_cancel(gc, NULL, _("Accept chat invitation?"), buf2, |
802 purple_request_accept_cancel_with_hint(gc, NULL, _("Accept chat invitation?"), buf2, |
| 803 PURPLE_DEFAULT_ACTION_NONE, account, who, NULL, |
803 PURPLE_DEFAULT_ACTION_NONE, account, who, NULL, |
| 804 cid, G_CALLBACK(chat_invite_accept), |
804 "chat", cid, G_CALLBACK(chat_invite_accept), |
| 805 G_CALLBACK(chat_invite_reject)); |
805 G_CALLBACK(chat_invite_reject)); |
| 806 } |
806 } |
| 807 else if (plugin_return > 0) |
807 else if (plugin_return > 0) |
| 808 chat_invite_accept(cid); |
808 chat_invite_accept(cid); |
| 809 else |
809 else |