Cannot publish bundle, no pubsub feature announced
Expected Behavior
It should be able to properly publish the Omemo bundle.
Current Behavior
When connecting, profanity complains about the server not announcing a PUBSUB feature, i assume it needs pep. This leads to the client not being able to publish its Omemo bundle and other clients not being able to see the Omemo fingerprint/device, similar as in #1621
New OMEMO device (ID: 1225565920) added to your account.
vCard refreshed
OMEMO: Cannot publish bundle: no PUBSUB feature announced
The server supports PEP and other clients have no problems using it.
Possible Solution
--
Steps to Reproduce (for bugs)
- Open profanity
- Check the console
- Notice that it cannot publish the Omemo bundle
Context
If new contacts try to message me, they cannot see the omemo fingerprint for my profanity instance, only the ones from the other clients which managed to publish them
Environment
- Give us the version and build information output generated by
profanity -v - If you could not yet build profanity, mention the revision you try to build from
- Operating System/Distribution
- glib version
- libstrophe version
- omemo backend
- Some bugs might be due to specific implementation in the server.
/serversoftware example.domaincan be helpful
profanity -v:
Profanity, version 0.18.2dev..
Copyright (C) 2012 - 2019 James Booth <[email protected]>.
Copyright (C) 2019 - 2026 Michael Vetter <[email protected]>.
License GPLv3+: GNU GPL version 3 or later <https://www.gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Build information:
XMPP library: libstrophe
Desktop notification support: Enabled
OTR support: Enabled (libotr 4.1.1)
PGP support: Enabled (libgpgme 2.1.2)
OMEMO support: Enabled
C plugins: Enabled
Python plugins: Enabled (3.14.6)
GTK icons/clipboard: Enabled
GDK Pixbuf: Enabled
It works now, i assumed it needed PEP (which was already activated), but when i enabled pubsub prosody module it stopped complaining. Isnt PEP used for things like publishing Omemo Bundles and pubsub for publishing general info (like the wheater)?
Apologies for commenting on a closed issue but I'd like to point out that this PUBSUB notification, in the context of OMEMO bundles, is a red herring. OMEMO supplementary data is handled entirely with PEP so the messages makes no sense. I also wonder if it's really useful to throw a generic notification up-front about the server not having a PUBSUB node. A lot of servers don't. It's probably better to not alert the user about no PUBSUB node until a PUBSUB action is invoked.