diff options
Diffstat (limited to 'src/base/QXmppPubSubNodeConfig.cpp')
| -rw-r--r-- | src/base/QXmppPubSubNodeConfig.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base/QXmppPubSubNodeConfig.cpp b/src/base/QXmppPubSubNodeConfig.cpp index 731bdf16..c7010e5b 100644 --- a/src/base/QXmppPubSubNodeConfig.cpp +++ b/src/base/QXmppPubSubNodeConfig.cpp @@ -24,6 +24,7 @@ #include "QXmppPubSubNodeConfig.h" static const auto NODE_CONFIG_FORM_TYPE = QStringLiteral(u"http://jabber.org/protocol/pubsub#node_config"); +static const auto PUBLISH_OPTIONS_FORM_TYPE = QStringLiteral("http://jabber.org/protocol/pubsub#publish-options"); static const auto ACCESS_MODEL = QStringLiteral("pubsub#access_model"); static const auto BODY_XSLT = QStringLiteral("pubsub#body_xslt"); @@ -839,3 +840,8 @@ void QXmppPubSubNodeConfig::serializeForm(QXmppDataForm &form) const PAYLOAD_TYPE, d->payloadType); } + +QString QXmppPubSubPublishOptions::formType() const +{ + return PUBLISH_OPTIONS_FORM_TYPE; +} |
