summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-12-18 21:00:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-12-18 21:00:41 +0300
commitd8d4adb545e20fee19caf5270b1b70e7c826f6f9 (patch)
tree51f32be23bc314fa01a07267b6b451e42d62cf70 /protocols/Facebook/src/server.cpp
parentfe77d2543f2822b6637c4090887bf349fc4ccb75 (diff)
Facebook: subscribe & unsubscribe support
Diffstat (limited to 'protocols/Facebook/src/server.cpp')
-rw-r--r--protocols/Facebook/src/server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index 9eb13b9378..c54c46e29e 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -29,6 +29,9 @@ void FacebookProto::OnLoggedIn()
m_iStatus = m_iDesiredStatus;
// MqttPublish("/foreground_state", "{\"foreground\":\"true\", \"keepalive_timeout\":\"60\"}");
+
+ MqttSubscribe("/inbox", "/mercury", "/messaging_events", "/orca_presence", "/orca_typing_notifications", "/pp", "/t_ms", "/t_p", "/t_rtc", "/webrtc", "/webrtc_response", 0);
+ // MqttUnsubscribe("/orca_message_notifications", 0);
}
void FacebookProto::OnLoggedOut()