-
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?
-
wgreenhouse
sxavier: it's a disco#items request, https://xmpp.org/extensions/xep-0050.html#retrieve
-
wgreenhouse
works fine from ejabberd here
-
singpolyma
Cheogram only auto gets if caps shows support and probably the server doesn't have presence or caps
-
wgreenhouse
the key may also be here: "The responder is not required to send the same list of commands to all requesters."
-
wgreenhouse
perhaps new account not yet authorized by bot
-
sxavier
Thanks for the clues. I'm looking into XEP-0115
-
sxavier
Cheogram is now showing a "last seen ... minutes ago" for the bot contact. ejabberd.yml has modules: mod_caps: {}
-
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.