summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-07 13:17:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-07 13:17:02 +0300
commitffb61c98cc33470e7f5f6051c91d2b01a16eb143 (patch)
treef6b19ead3fed7f8e16e5947570dca0bf88e8a500 /protocols/Facebook/src
parent48e20e975ee04e6e84cf920d590c94f82306527e (diff)
fixes #4102 (ICQ, Facebook: ротоколы выставляют неподдерживаемые/некорректные статусы)
Diffstat (limited to 'protocols/Facebook/src')
-rw-r--r--protocols/Facebook/src/proto.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp
index bec6bac475..229d5b7c73 100644
--- a/protocols/Facebook/src/proto.cpp
+++ b/protocols/Facebook/src/proto.cpp
@@ -247,6 +247,11 @@ int FacebookProto::SetStatus(int iNewStatus)
case ID_STATUS_OFFLINE:
break;
+ case ID_STATUS_FREECHAT:
+ case ID_STATUS_INVISIBLE:
+ iNewStatus = ID_STATUS_ONLINE;
+ break;
+
default:
iNewStatus = ID_STATUS_AWAY;
break;