diff options
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()) |