diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |