summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-01 15:35:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-01 15:35:35 +0300
commita394c200ee2664b177d376259ab26b78bb854c19 (patch)
tree4d242c59abf14e7ae7270d4c6e88bce753bd984b /protocols/Discord/src/utils.cpp
parent1c2dead34ab9c54829cb0f27a7bfe0e917474ec0 (diff)
added handler for a USER_SETTINGS_UPDATE command
Diffstat (limited to 'protocols/Discord/src/utils.cpp')
-rw-r--r--protocols/Discord/src/utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/utils.cpp b/protocols/Discord/src/utils.cpp
index 6813313bc0..a9b95b6f49 100644
--- a/protocols/Discord/src/utils.cpp
+++ b/protocols/Discord/src/utils.cpp
@@ -28,6 +28,8 @@ int StrToStatus(const CMStringW &str)
{
if (str == L"idle")
return ID_STATUS_NA;
+ if (str == L"dnd")
+ return ID_STATUS_DND;
if (str == L"online")
return ID_STATUS_ONLINE;
if (str == L"offline")