summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/dispatch.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-02 21:20:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-02 21:20:40 +0300
commit38d7885b91b6026b1a518e8c7d34172a08da4c87 (patch)
treee687f597a185097e43f2815600a6ded03e157075 /protocols/Discord/src/dispatch.cpp
parentb8b21e44668a2528932dd134f3791f2eabf68cf2 (diff)
Discord: message formatting now includes the list of attachments (if present)
Diffstat (limited to 'protocols/Discord/src/dispatch.cpp')
-rw-r--r--protocols/Discord/src/dispatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp
index 9f9ae06841..17b7a28b98 100644
--- a/protocols/Discord/src/dispatch.cpp
+++ b/protocols/Discord/src/dispatch.cpp
@@ -193,7 +193,7 @@ void CDiscordProto::OnCommandMessage(const JSONNode &pRoot)
if (_wtoi64(wszUserId) == m_ownId)
recv.flags = PREF_CREATEREAD | PREF_SENT;
- CMStringW wszText = pRoot["content"].as_mstring();
+ CMStringW wszText = PrepareMessageText(pRoot);
const JSONNode &edited = pRoot["edited_timestamp"];
if (!edited.isnull())