comparison libpurple/server.c @ 16439:08db93bbd798

Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 26 Apr 2007 12:25:49 +0000
parents 4999bbc52881
children 964078401036
comparison
equal deleted inserted replaced
16435:a46a0362dc34 16439:08db93bbd798
675 _("%s has invited %s to the chat room %s\n"), 675 _("%s has invited %s to the chat room %s\n"),
676 who, purple_account_get_username(account), name); 676 who, purple_account_get_username(account), name);
677 677
678 678
679 purple_request_accept_cancel(gc, NULL, _("Accept chat invitation?"), buf2, 679 purple_request_accept_cancel(gc, NULL, _("Accept chat invitation?"), buf2,
680 PURPLE_DEFAULT_ACTION_NONE, cid, 680 PURPLE_DEFAULT_ACTION_NONE, account, who, NULL,
681 G_CALLBACK(chat_invite_accept), 681 cid, G_CALLBACK(chat_invite_accept),
682 G_CALLBACK(chat_invite_reject)); 682 G_CALLBACK(chat_invite_reject));
683 } 683 }
684 else if (plugin_return > 0) 684 else if (plugin_return > 0)
685 chat_invite_accept(cid); 685 chat_invite_accept(cid);
686 else 686 else