jdev - 2026-04-13


  1. singpolyma

    Do people send <https://xmpp.org/extensions/xep-0184.html> when fetching messages from MAM?

  2. singpolyma

    also I guess it seems unlikely that receipts are stored in mam? so if you don't get one while connected you just never know the status of that one I guess?

  3. taba

    say i want to make a bot that edits people's messages in an muc as a moderator, what xep would i use and how would i make a bot just a moderator and not an admin on a prosody server for example

  4. snit

    wouldn't that have to be a muc module on the server?

  5. moparisthebest

    a module could do it without being either, a bot would need to join as one

  6. singpolyma

    yeah, moderators can't edit messages really. but a module certainly can

  7. singpolyma

    though some clients choose not to display the edits to the sender

  8. taba

    ok

  9. taba

    then i'll make it admin, but which xep would i use to patch messages?

  10. taba

    > though some clients choose not to display the edits to the sender for those clients i'd want it to show up ad a separate message

  11. taba

    wasn't "fastening" or whatever used for this? i was told this was deprecated

  12. chunkipho

    taba detected

  13. Cynthia

    > then i'll make it admin, but which xep would i use to patch messages? You can only do this as a server operator

  14. Cynthia

    Then you impersonate the user and send Last Message Correction stanzas from them

  15. Cynthia

    Or rewrite messages before they get sent to everyone else

  16. singpolyma

    a module to allow a bot or other to do it is possible but I'm curious on the use case

  17. Goot the ticklegoblin!

    What is the proper venue to report issues spotted in XEP's?

  18. theTedd

    The standards mailing list

  19. Goot the ticklegoblin!

    Was hoping for a MUC <😔>

  20. theTedd

    There is xmpp:xsf@muc.xmpp.org?join but it depends on the extent of the issue

  21. Goot the ticklegoblin!

    They're not like security issues, just an XML typo in one and a reference to an element which no longer exists as of RFC 6120

  22. singpolyma

    You can report in the MUC but if you want to be sure then the mailing list

  23. Goot the ticklegoblin!

    They're not like security issues, just an XML typo in one and a reference to an element which no longer exists as of RFC 6120 in another

  24. singpolyma

    or open the PR directly

  25. taba

    > a module to allow a bot or other to do it is possible but I'm curious on the use case singpolyma: embedding media files from links

  26. taba

    > wasn't "fastening" or whatever used for this? i was told this was deprecated can anyone elaborate on this

  27. singpolyma

    >> a module to allow a bot or other to do it is possible but I'm curious on the use case > > singpolyma: embedding media files from links Sounds like you want a module for sure then imo

  28. singpolyma

    i already almost have that module depending what exactly you want might be a tweak

  29. singpolyma

    https://modules.prosody.im/mod_muc_cache_media.html

  30. Sunglocto

    >> a module to allow a bot or other to do it is possible but I'm curious on the use case > > singpolyma: embedding media files from links Pretty sure you can already do this

  31. snit

    if its that then you wouldn't even need message correction tbh

  32. Cynthia

    Smh, just impersonate users and send whatever

  33. Cynthia

    It's so easy

  34. taba

    >> >> singpolyma: embedding media files from links > > Pretty sure you can already do this HOW

  35. Sunglocto

    just send an oob element with a url set

  36. Sunglocto

    thats it

  37. taba

    i mean embed in other people's messages

  38. taba

    as an admin

  39. Sunglocto

    Ohh

  40. taba

    :trollface:

  41. snit

    if an admin wants to do it manually the module would probably have to have some kind of ad-hoc command maybe? usually you'd just do this automatically

  42. taba

    i mean an admin bot

  43. singpolyma

    You're just converting their links to oob basically if they didn't add it themselves V

  44. snit

    can a bot user even modify other people's messages?

  45. singpolyma

    No

  46. Sunglocto

    > can a bot user even modify other people's messages? iirc no

  47. snit

    okay that's what i thought

  48. singpolyma

    Not without special access to the muc

  49. Sunglocto

    but isn't this just like the pastebin module

  50. Cynthia

    Yes, if a module gives it someway to do so

  51. Cynthia

    You can make a module that gives certain users a privilege to modify messages

  52. snit

    true though i assume that defeats the point of wanting a bot

  53. taba

    back in my days you could moderate someone's message to say something else for fun

  54. Goot the ticklegoblin!

    Changing swears into different words with the same start for e.g. "Shut the functional up" "Son of a bittersweet" "Piece of sharp" etc

  55. taba

    thoughts on mellium.im? are they dead?

  56. taba

    is the code quality ok?

  57. singpolyma

    Medium dead, medium quality

  58. singpolyma

    I use it for certwatch

  59. Martin

    I always thought that's the most complete and maintained library for golang… But I never used it myself.

  60. MattJ

    I tried to use it for something, but it was missing some functionality. Can't remember what... I ended up using the one by Process One, but had to fix a bunch of stuff (I ended up forking it).

  61. MattJ

    So yeah, I was also under the impression that there were a range of decent libraries for Go, and all of them had problems of some sort

  62. MattJ

    So yeah, I was also under the impression that there were a range of decent libraries for Go, and it turned out all of them had problems of some sort

  63. Sunglocto

    > I tried to use it for something, but it was missing some functionality. Can't remember what... I ended up using the one by Process One, but had to fix a bunch of stuff (I ended up forking it). Ooh can you send me a link to your fork

  64. Sunglocto

    > thoughts on mellium.im? are they dead? Way too complex in my opinion

  65. taba

    by the end there'll be 50 bad go libraries

  66. MattJ

    Sunglocto, I hesitate because I'm not keen on becoming anyone's dependency. I maintain it for my own use and as long as it does what I need, I may never make another commit. Nevertheless: https://github.com/mwild1/go-xmpp

  67. snit

    > Sunglocto, I hesitate because I'm not keen on becoming anyone's dependency. I maintain it for my own use and as long as it does what I need, I may never make another commit. Nevertheless: https://github.com/mwild1/go-xmpp in that case he can just fork the fork 🧌

  68. Sunglocto

    > Sunglocto, I hesitate because I'm not keen on becoming anyone's dependency. I maintain it for my own use and as long as it does what I need, I may never make another commit. Nevertheless: https://github.com/mwild1/go-xmpp Thanks