jdev - 2025-10-27


  1. sxavier

    I don't know how clients discover Ad-hoc Commands. After I switched servers (to ejabberd), my Cheogram Android client no longer sees the ad hoc commands until the user taps Refresh Feature Discovery. Is there something the ejabberd server (or my slixmpp bot) should do to automatically refresh/publish that?

  2. wgreenhouse

    sxavier: it's a disco#items request, https://xmpp.org/extensions/xep-0050.html#retrieve

  3. wgreenhouse

    works fine from ejabberd here

  4. singpolyma

    Cheogram only auto gets if caps shows support and probably the server doesn't have presence or caps

  5. wgreenhouse

    the key may also be here: "The responder is not required to send the same list of commands to all requesters."

  6. wgreenhouse

    perhaps new account not yet authorized by bot

  7. sxavier

    Thanks for the clues. I'm looking into XEP-0115

  8. sxavier

    Cheogram is now showing a "last seen ... minutes ago" for the bot contact. ejabberd.yml has modules: mod_caps: {}

  9. nicoco

    sxavier: I don't think ejabberd's mod_caps inject the caps verstring in presences automatically, this module has a different purpose. If this is a bot you wrote, you likely need to compute the caps verstring and add it to the presences the bot sends.