profanity icon indicating copy to clipboard operation
profanity copied to clipboard

Cannot publish bundle, no pubsub feature announced

Open yhkq1 opened this issue 4 months ago • 2 comments

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)

  1. Open profanity
  2. Check the console
  3. 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.domain can 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

yhkq1 avatar Jul 30 '26 15:07 yhkq1

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)?

yhkq1 avatar Jul 30 '26 16:07 yhkq1

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.

stolendata avatar Sep 03 '26 17:09 stolendata