summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/utils.cpp
diff options
context:
space:
mode:
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")