]> git.zarvox.org Git - imoo.git/commitdiff
conversations: use the parameter you validated, dummy
authorDrew Fisher <drew.m.fisher@gmail.com>
Wed, 7 May 2014 07:20:35 +0000 (00:20 -0700)
committerDrew Fisher <drew.m.fisher@gmail.com>
Wed, 7 May 2014 07:20:35 +0000 (00:20 -0700)
ribbon/ribbonconversations.cpp

index 0b37d886bbdd1d37654dd4f671061f12ba917145..8f2dd5a0c23b4f21996999f45c58e9fb08cc3fc3 100644 (file)
@@ -101,7 +101,7 @@ void RibbonConversations::handleExternalEvent(QString method, QVariantMap contex
                // TODO: check args, extract args from context, call send_im
                if (hasStringMember(context, "proto") && hasStringMember(context, "account")
                                && hasStringMember(context, "buddy") && hasStringMember(context, "message")) {
-                       send_im(context["protocol"].toString(), context["account"].toString(),
+                       send_im(context["proto"].toString(), context["account"].toString(),
                                context["buddy"].toString(), context["message"].toString());
                } else {
                        qWarning() << "Invalid args to send_im:" << context;