jdev - 2022-01-29


  1. lovetox

    would it be a good idea to display messages from the server domain somehow different

  2. lovetox

    at the moment in gajim its a simple chat

  3. lovetox

    just with yourdomain.com

  4. lovetox

    but most of the time server send maintainence message over that jid

  5. lovetox

    so one could not treat this as a chat and display it on some kind of status page

  6. lovetox

    but then probably someone wrote some server module where users need to answer to such messages to do something?

  7. lovetox

    and they will complain that they cant chat with that domain jid?

  8. Zash

    A server that doesn't support such messages would send you an error reply if you try.

  9. Zash

    I'm not opposed to inventing some feature flag to indicate that the bare host JID supports messaging somehow

  10. Zash

    Apart from that, showing messages from the server as some sort of special status messages would be nice.

  11. Zash

    I especially like the way Poezio shows headline messages

  12. Zash

    Also, Converse.js has some message view without an input field for things like that.

  13. Zash

    But then things like the pubsub tui at xmpp:pubsub.prosody.im gets tricky to use, if there's no way to get the input filed back

  14. lovetox

    Zash are you saying me server dont support sending a message to the host jid?

  15. lovetox

    is there something in the standard that forbids that?

  16. lovetox

    im aware that this is not common, but as i said, someone can just invent a module for a server and receive commands over chat messages to the host jid

  17. lovetox

    and then they bug me why they cant write messages to that jid

  18. Zash

    Not forbidden. But a server without such a module will likely just return an error if you do send something.

  19. lovetox

    movim.eu returns "No available resource found"

  20. lovetox

    what ever that means

  21. lovetox

    ok so what im really asking is, is anyone aware here on usecases where humans have to "chat" with the host jid like its some user

  22. Zash

    > xmpp:pubsub.prosody.im

  23. Zash

    maybe the cheogram bot?

  24. jonas’

    the host jid === JID without localpart?

  25. lovetox

    yes, yourdomain.com

  26. jonas’

    restricting that seems odd

  27. lovetox

    how is it odd, i just told the use case which is not odd in my opinion

  28. lovetox

    hm

  29. lovetox

    or maybe im going wrong at this, can i depend on that server send info messages as type = headline?

  30. lovetox

    so simpley not opening chats for that

  31. jonas’

    could make sense

  32. lovetox

    nor displaying it when a user opens a chat with the host jid

  33. jonas’

    treat 'from has no localpart && type == "headline"' as status message

  34. Zash

    "status message" is a bit ambiguous tho

  35. Zash

    but yeah, some sort of system message

  36. Zash

    especially if it comes from your own domain

  37. Zash observes that Snikket uses type=normal

  38. jonas’

    treat 'from has no localpart && (type == "headline" || type == "normal")' as status message

  39. jonas’

    O:-)

  40. Zash

    ninja

  41. Zash

    Opening a normal chat for a type=="chat" seems like a sensible thing tho

  42. Zash

    and having some way to open such a chat, but I'd understand if it's hidden away in some menu

  43. pep.

    https://www.softpedia.com/get/Internet/Chat/Instant-Messaging/cwtch.shtml

  44. pep.

    Somebody called their app Cwtch. Come and tell us to our face XMPP is hard to pronounce / remember

  45. defanor

    Apparently it's pronounced /kʊtʃ/ -- still easier than /ɛks ɛm piː piː/.

  46. Link Mauve

    pep., I once named mine PSĜS, I’m not one to talk. o:)

  47. pulkomandy

    I considered using japanese spelling for Renga, but decided to go for latin alphabet (mostly. Except the app icon)