From f788d1a888ecc4d4240eae3415fd324a9d20ec09 Mon Sep 17 00:00:00 2001 From: Drew Fisher Date: Wed, 7 May 2014 00:20:35 -0700 Subject: [PATCH] conversations: use the parameter you validated, dummy --- ribbon/ribbonconversations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2