diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-21 19:42:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-21 19:42:24 +0300 |
commit | ee4c113c7ce309a92b39e2d8f9fcb8c73877aa65 (patch) | |
tree | 0de37a9c6a0264189d8d9796e647ef3c7589f6ae /protocols | |
parent | c0686493433293210b96c45eddccc3aef95b2592 (diff) |
fix for #3219 (broken statuses in ICQ)
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/utils.cpp b/protocols/ICQ-WIM/src/utils.cpp index 2b74e1a4bf..98ccc45dfe 100644 --- a/protocols/ICQ-WIM/src/utils.cpp +++ b/protocols/ICQ-WIM/src/utils.cpp @@ -287,7 +287,7 @@ int CIcqProto::StatusFromPresence(const JSONNode &presence, MCONTACT hContact) int iStatus; if (wszStatus == L"online") iStatus = ID_STATUS_ONLINE; - if (wszStatus == L"offline") + else if (wszStatus == L"offline") iStatus = ID_STATUS_OFFLINE; else if (wszStatus == L"n/a") iStatus = ID_STATUS_NA; |