diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-04 21:33:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-04 21:33:26 +0300 |
commit | 338a21fdbdab5863b17dd64aa087110cc33049d6 (patch) | |
tree | c8736d80fbf0531b20445ab114bc5ffc27a49426 /protocols/ICQ-WIM/src/utils.cpp | |
parent | 3f6d3a6f5c6075e6c4f85ccbfe17b128c81a9aad (diff) |
fixes #1718 (ICQ10: major crutch to compensate behavior of the official ICQ client)
Diffstat (limited to 'protocols/ICQ-WIM/src/utils.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/utils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/ICQ-WIM/src/utils.cpp b/protocols/ICQ-WIM/src/utils.cpp index a962cb6a3c..afebaba7f4 100644 --- a/protocols/ICQ-WIM/src/utils.cpp +++ b/protocols/ICQ-WIM/src/utils.cpp @@ -226,15 +226,15 @@ bool IsChat(const CMStringW &aimid) int StatusFromString(const CMStringW &wszStatus) { - if (wszStatus == "online") + if (wszStatus == L"online") return ID_STATUS_ONLINE; - if (wszStatus == "n/a") + if (wszStatus == L"n/a") return ID_STATUS_NA; - if (wszStatus == "away") + if (wszStatus == L"away") return ID_STATUS_AWAY; - if (wszStatus == "occupied") + if (wszStatus == L"occupied") return ID_STATUS_OCCUPIED; - if (wszStatus == "dnd") + if (wszStatus == L"dnd") return ID_STATUS_DND; return ID_STATUS_OFFLINE; |