From ceb375ad7f99c4169ffb3041037583996122fa57 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Feb 2017 12:03:04 +0300 Subject: . --- protocols/Discord/src/dispatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Discord/src') diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index b0f0719d60..58baedf4a7 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -116,7 +116,7 @@ static int sttGetPresence(const JSONNode &pStatuses, const CMStringW &wszId) for (auto it = pStatuses.begin(); it != pStatuses.end(); ++it) { const JSONNode &s = *it; - const CMStringW &wszUserId = s["user"]["id"].as_mstring(); + CMStringW wszUserId = s["user"]["id"].as_mstring(); if (wszUserId == wszId) return StrToStatus(s["status"].as_mstring()); } -- cgit v1.2.3