From ee4c113c7ce309a92b39e2d8f9fcb8c73877aa65 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 21 Oct 2022 19:42:24 +0300 Subject: fix for #3219 (broken statuses in ICQ) --- protocols/ICQ-WIM/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') 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; -- cgit v1.2.3