From f26422d143ee2d4cdc166bbbd97e8b9fe60b7fcd Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Mon, 6 Apr 2020 13:10:11 +0200 Subject: QXmppDiscoveryManager: Move static features into QXmppClientPrivate --- src/client/QXmppClient.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/client/QXmppClient.cpp') diff --git a/src/client/QXmppClient.cpp b/src/client/QXmppClient.cpp index 76ab9f5e..1b3ead73 100644 --- a/src/client/QXmppClient.cpp +++ b/src/client/QXmppClient.cpp @@ -68,6 +68,28 @@ int QXmppClientPrivate::getNextReconnectTime() const else return 60 * 1000; } + +QStringList QXmppClientPrivate::discoveryFeatures() +{ + return { + // XEP-0004: Data Forms + ns_data, + // XEP-0059: Result Set Management + ns_rsm, + // XEP-0071: XHTML-IM + ns_xhtml_im, + // XEP-0085: Chat State Notifications + ns_chat_states, + // XEP-0115: Entity Capabilities + ns_capabilities, + // XEP-0199: XMPP Ping + ns_ping, + // XEP-0224: Attention + ns_attention, + // XEP-0333: Chat Markers + ns_chat_markers, + }; +} /// \endcond /// Creates a QXmppClient object. -- cgit v1.2.3