diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-02 21:20:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-02 21:20:40 +0300 |
commit | 38d7885b91b6026b1a518e8c7d34172a08da4c87 (patch) | |
tree | e687f597a185097e43f2815600a6ded03e157075 /protocols/Discord/src/dispatch.cpp | |
parent | b8b21e44668a2528932dd134f3791f2eabf68cf2 (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.cpp | 2 |
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()) |