diff -r 6cafff03b4c2 -r 854143116575 libpurple/protocols/silc/chat.c --- a/libpurple/protocols/silc/chat.c Thu Sep 19 12:26:45 2013 +0530 +++ b/libpurple/protocols/silc/chat.c Sat Sep 21 16:41:50 2013 +0530 @@ -80,7 +80,8 @@ g_snprintf(tmp, sizeof(tmp), _("Channel %s does not exist in the network"), chname); purple_notify_error(gc, _("Channel Information"), - _("Cannot get channel information"), tmp); + _("Cannot get channel information"), tmp, + purple_request_cpar_from_connection(gc)); return; } @@ -238,7 +239,7 @@ silc_free(sgc); purple_notify_error(client->application, _("Add Channel Public Key"), - _("Could not load public key"), NULL); + _("Could not load public key"), NULL, NULL); return; } @@ -1053,7 +1054,8 @@ _("You have to join the %s channel before you are " "able to join the private group"), parentch); purple_notify_error(gc, _("Join Private Group"), - _("Cannot join private group"), tmp); + _("Cannot join private group"), tmp, + purple_request_cpar_from_connection(gc)); return; } @@ -1248,9 +1250,11 @@ } flags |= SILC_MESSAGE_FLAG_ACTION; } else if (strlen(msg) > 1 && msg[0] == '/') { - if (!silc_client_command_call(client, conn, msg + 1)) - purple_notify_error(gc, _("Call Command"), _("Cannot call command"), - _("Unknown command")); + if (!silc_client_command_call(client, conn, msg + 1)) { + purple_notify_error(gc, _("Call Command"), + _("Cannot call command"), _("Unknown command"), + purple_request_cpar_from_connection(gc)); + } g_free(tmp); return 0; }