diff options
author | Paul Fariello <paul@fariello.eu> | 2019-03-25 19:19:18 +0140 |
---|---|---|
committer | Paul Fariello <paul@fariello.eu> | 2019-04-10 17:12:31 +0200 |
commit | bc16ba1669b5a8fb0d2b449b2f2be8149025d70b (patch) | |
tree | 0991fcd2d1d55e7f1463cba49dea22086d8881b1 | |
parent | 678bff9169c81ed20c38698e132d7c8c6118763b (diff) | |
download | profani-tty-bc16ba1669b5a8fb0d2b449b2f2be8149025d70b.tar.gz |
Temporarly disable check for publish-options support
-rw-r--r-- | src/xmpp/omemo.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/xmpp/omemo.c b/src/xmpp/omemo.c index 4fcca699..98509ff1 100644 --- a/src/xmpp/omemo.c +++ b/src/xmpp/omemo.c @@ -23,9 +23,7 @@ omemo_devicelist_publish(GList *device_list) xmpp_ctx_t * const ctx = connection_get_ctx(); xmpp_stanza_t *iq = stanza_create_omemo_devicelist_publish(ctx, device_list); - if (connection_supports(XMPP_FEATURE_PUBSUB_PUBLISH_OPTIONS)) { - stanza_attach_publish_options(ctx, iq, "pubsub#access_model", "open"); - } + stanza_attach_publish_options(ctx, iq, "pubsub#access_model", "open"); iq_send_stanza(iq); xmpp_stanza_release(iq); @@ -72,9 +70,7 @@ omemo_bundle_publish(void) g_list_free(lengths); g_list_free(ids); - if (connection_supports(XMPP_FEATURE_PUBSUB_PUBLISH_OPTIONS)) { - stanza_attach_publish_options(ctx, iq, "pubsub#access_model", "open"); - } + stanza_attach_publish_options(ctx, iq, "pubsub#access_model", "open"); iq_send_stanza(iq); xmpp_stanza_release(iq); |