From: Drew Fisher Date: Wed, 7 May 2014 07:20:35 +0000 (-0700) Subject: conversations: use the parameter you validated, dummy X-Git-Url: http://git.zarvox.org/shortlog/week?a=commitdiff_plain;h=f788d1a888ecc4d4240eae3415fd324a9d20ec09;p=imoo.git conversations: use the parameter you validated, dummy --- diff --git a/ribbon/ribbonconversations.cpp b/ribbon/ribbonconversations.cpp index 0b37d88..8f2dd5a 100644 --- a/ribbon/ribbonconversations.cpp +++ b/ribbon/ribbonconversations.cpp @@ -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;