XSF Discussion - 2023-07-19


  1. mjk

    > image.png.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 640x1091, components 3 where's trolling? :P

  2. mjk

    and yes, my avatar still apparently can't be decoded on android clients

  3. mjk

    and yes, my avatar still apparently can't be decoded by android clients

  4. MSavoritias fae.ve

    why dont we have an i2p xep but we have a quic xep? is it just because nobody has bothered to write one and submit it?

  5. MattJ

    If there are special protocol/implementation considerations for i2p that need documenting, probably that, yes

  6. Zash

    We don't have a Tor XEP either, and AIUI it's closer to i2p than QUIC

  7. Ge0rG

    XMPP over Tor is just running XMPP on an onion domain

  8. Zash

    Optionally with outgoing s2s connections going through a SOCKS-ish proxy

  9. Menel

    Isn't that the same with i2p?

  10. Zash

    I believe so, hence the parallel

  11. mjk

    yeh, QUIC is a replacement for TCP, i2p and Tor are overlay networks that can transport TCP

  12. mjk

    yeh, QUIC is a replacement for TCP; i2p and Tor are overlay networks that can transport TCP

  13. nicola

    Does anyone know why the disclaimer appears after a new message, as in the attached image?

  14. nicola

    The disclaimer disappears after moving on to another chat and returning here.

  15. lovetox

    disclaimer?

  16. lovetox

    attached image?

  17. Zash

    We don't know what you are seeing, you will have to show us or describe in more detail.

  18. nicola

    > We don't know what you are seeing, you will have to show us or describe in more detail. Ok. I am using Beagle on my Mac and after reaching this group to read a new message, I see the disclaimer “Private messages are disabled”. The disclaimer disappears after moving on to another chat and returning here. I tried also to close and open again Beagle but nothing changed. Boh!

  19. Zash

    Curious.

  20. lovetox

    your client shows you the configuration option of this muc

  21. mjk

    well, private messages are indeed disabled in this muc

  22. Zash

    Private messages _are_ disabled, but you should only see that if attempting to send one.

  23. lovetox

    and tells you that private messages are disabled

  24. lovetox

    no Zash, this is a status code on join i think

  25. lovetox

    so clients show it

  26. nicola

    > Curious. It’s pretty annoying.

  27. lovetox

    yeah, maybe ask in the beagle support chat

  28. Zash

    lovetox, actually, there isn't, I never implemented any status codes, only an error reply when attempting to send a PM

  29. nicola

    > yeah, maybe ask in the beagle support chat I’ll do it

  30. lovetox

    Zash, some config option need to be communicated on join to every user

  31. lovetox

    i didnt look it up, but this may be one of them

  32. Zash

    But private messages to/from moderators are allowed, wasn't sure if that could be communicated.

  33. lovetox

    its weird if private messages are in fact not disabled :D

  34. Zash

    Also didn't actuallly read the XEP when dusting off that module, just made it work with modern Prosody

  35. lovetox

    hm i just checked, only 110 is communicated on join

  36. lovetox

    so indeed weird what beagle shows here

  37. jonas’

    are avatar queries affected by that and do they cause such a message?

  38. Zash

    No, this should only affect chat messages

  39. jonas’

    then I'm clueless

  40. Zash

    iteam could take a peek at the logs, see if there's any clues

  41. Zash

    Best would be xml logs from beagle, sent to the beagle support.

  42. Zash

    lovetox, you happen to know which status code you're supposed to send? and/or where in infinite maze that is XEP-0045 the relevant text is? if not that's fine and I can go find it myself later

  43. lovetox

    ha i have it

  44. lovetox

    this rooms disco info is missing muc#roomconfig_allowpm

  45. lovetox

    which beagle default to False

  46. lovetox

    which is sensible in my opinion

  47. Zash

    nicoco, does it say that about other Prosody-hosted chatrooms?

  48. Zash

    I'm pretty sure this here is the message from a module that just blocks and bounces PMs

  49. Zash

    Prosody never had the allowpm disco flag

  50. Zash

    And peeking at the logs, there are indeed private message stanzas being exchanged

  51. Zash

    ... and rejected

  52. lovetox

    everytime i look at the MUC xep i see something new

  53. lovetox

    roomconfig_roomowners

  54. lovetox

    does anyone use this, i never saw this in a config form

  55. Zash

    is beagle sending PMs to itself for some reason?

  56. nicoco

    Beagle is sending PMs to itself, yes

  57. Zash

    ???

  58. nicoco

    And I have the error message issue in many MUCs

  59. nicoco

    https://github.com/tigase/beagle-im/issues/132

  60. nicoco

    and why? https://github.com/tigase/beagle-im/issues/121

  61. mjk

    muc self pmng?

  62. nicoco

    > In the case of MUC rooms that are not members only, Beagle sends PMs (type="chat") with "read" notification to notify other resources joined with the same nickname that this message was read/received (same user different clients). > In case of MUC rooms that are members only, Beagle sends "read" notifications to the bare JID of the room with type="groupchat" to broadcast this notification to everyone.

  63. nicoco

    to have "read state sync" across tigase clients in public mucs

  64. Zash

    I see

  65. lovetox

    seems they forgot that pms can be disabled

  66. Zash

    Ugh, https://xmpp.org/extensions/xep-0045.html#privatemessage says nothing about partially disallowed PMs

  67. lovetox

    or they depend on the disco flag correctly set

  68. lovetox

    which would be correct assumption :D

  69. Zash

    oh wait it's a what?

  70. Zash

    > label='Who Can Send Private Messages?' Doesn't quite capture moderators being able to send PMs, and anyone being able to send PMs to moderators...

  71. nicoco

    > > Curious. > It’s pretty annoying. nicola: yeah it renders beagle borderline usable, I agree

  72. nicoco

    > > Curious. > It’s pretty annoying. nicola: yeah it renders beagle borderline unusable, I agree

  73. Andrzej

    just to be clear, there is no check if PM can be sent or not, that is why Beagle sends chat markers to self

  74. nicoco

    (in large MUCs I mean)

  75. Zash

    try once, disable that feature if an error is received?

  76. Andrzej

    actually, I'm working on the fix, to send them only if PMs are allowed

  77. Zash

    Hold up, is `muc#roomconfig_allowpm` meant to be advertised in disco#info? I'm not seeing text about that, tho IIRC there was something about putting any config option in disco#info being okay?

  78. Andrzej

    BeagleIM actually relies on this flag in disco#info

  79. Zash

    This seems problematic.

  80. Andrzej

    so missing this fields in disco#info would explain why this issue happened with Prosody

  81. Zash

    Because Prosody out of the box doesn't have such an option, this is provided by an addon module that just blocks PMs if any are sent, but allows PMs to/from moderators, because that seems useful.

  82. Andrzej

    I just wonder how harmful are PMs to self to be allowed?

  83. Zash

    I'm thinking that can be allowed

  84. Zash

    Question is how to communicate that PMs to moderators are allowed but PMs to other participants is not?

  85. Zash

    Try now

  86. Andrzej

    Zash, it looks like it is working as I cannot send PMs from BeagleIM UI anymore, while I could not so long ago

  87. Zash

    Does Beagle have the "request Voice" feature?

  88. Andrzej

    I do not recall implementing it

  89. Zash

    So now you have no way to request voice in the moderated channels. Seems suboptimal.

  90. Andrzej

    that is something that can be improved in the future version

  91. Zash

    Some sort of complement to `muc#roomconfig_allowpm` or variant thereof for when you can still PM moderators?

  92. nicola

    Now it seems working fine

  93. Zash

    or, new value?

  94. singpolyma

    > So now you have no way to request voice in the moderated channels. Seems suboptimal. Does any client or server implement this right?

  95. Zash

    I believe so but don't have the list in my head

  96. Andrzej

    I wonder, if allowPM would allow to send PM by moderators, shouldn't it allow users to send PMs to moderators as well?

  97. singpolyma

    Does prosody support the request voice?

  98. Zash

    singpolyma, yes

  99. singpolyma

    Zash: what does it do?

  100. Zash

    Andrzej, the addon module for Prosody currently active here now allows messages to moderators, messages from moderators, messages to yourself. Otherwise it rejects them with an error.

  101. Zash

    singpolyma, what does what do?

  102. singpolyma

    Zash: prosody when processing request voice

  103. Zash

    https://xmpp.org/extensions/xep-0045.html#requestvoice is relevant

  104. Zash

    + https://xmpp.org/extensions/xep-0045.html#voiceapprove

  105. Andrzej

    Zash: ok, that actually is even better as it allows syncing chat markers with PMs to self, however when I fix Beagle it will know that PMs are off and would not allow sending PMs anymore, so it will be back to as it should be

  106. Zash

    singpolyma, it notifies moderators, who can approve the request

  107. singpolyma

    Zash: ok, so the full dataform in message flow. So if Prosody already has this we just need client support for approval flow. I will play with this

    🏗️ 1
  108. singpolyma

    Zash: when mod approves voice I guess that is temporary since roles are not persisted, yet?

  109. singpolyma

    Zash: when mod approves voice I guess that is temporary since roles are not persisted, yes?

  110. Zash

    Correct

  111. Zash

    We have some ideas around making roles somewhat persistent, or maybe we just slowly abolish them

  112. singpolyma

    Temporary give voice is something some mods may want, not sure. Temporary remove voice is much less useful though 😅

  113. Zash

    Might be sensible to also have "grant membership" within reach in that dialog?

  114. Zash

    Crossing over into UX considerations tho

  115. singpolyma

    Yeah, I mean it's a form so certainly can have options in it :)

  116. Guus

    What server-sided support needs to be implemented for XEP-0333? The 'Determining Support' section has an example that queries a server/domain for support, which confuses me a little. Apart from some MAM optimizations, I'm not immediately seeing a lot of things to support for a server? https://xmpp.org/extensions/xep-0333.html#disco

  117. Zash

    Guus, none.

  118. Zash

    Just send say "done" along with an invoice! :)

  119. Zash

    If you're ambitious you could keep only the latest entry.

  120. Guus

    ... https://github.com/xsf/xeps/pull/1289

  121. Zash

    So, optimizations is what can be done server-side, but not sure that needs to be advertised.

  122. Andrzej

    I've published a new beta version of BeagleIM with a fix for PM errors. If anyone is using beta version and has this issue still on some rooms please try new version and let me know if the issue is fixed now

  123. moparisthebest

    XMPP will never be taken seriously until we support disabling anyone else's account with an email https://www.ghacks.net/2023/07/18/you-may-deactivate-anyones-whatsapp-account-with-a-simple-email/

  124. root

    Delete all the thingz