jdev - 2020-05-18


  1. Martin

    Is there any client which notifies you if your nickname is metioned prefixed with an @?

  2. Martin

    https://github.com/tigase/beagle-im/issues/14#issuecomment-630352808

  3. moparisthebest

    I hope not, that's a crappy slack-ism

  4. Martin

    moparisthebest: The beagle dev suggested me to tell my clients devs to also notify on @user. Because his client adds an @ in front which results in not being notified of that mention.

  5. Martin

    Is there any XEP where mentions are defined? MUC XEP?

  6. Martin

    Wojtek: Are you the one from Beagle? Do you know any client supporting those @mentions? Afair none of all the XMPP clients I tested notifies you on them.

  7. Ge0rG

    https://xmpp.org/extensions/xep-0372.html#usecase_mention ;)

  8. Martin

    Ge0rG: Is this used in the wild? I thought clients are just parsing the messages. Also this won't work in public MUCs as you don't know the JID of the mentioned person.

  9. Ge0rG

    Martin: of course not

  10. Martin

    Ha, there's an XEP for that (that nobody uses). :D

  11. moparisthebest

    I'm sure some clients look for any old substring of your name, instead of ones surrounded by whitespace or :,

  12. Ge0rG

    some users with short nicknames dislike that

  13. lovetox

    in gajim you can define a list of words which you get notified on

  14. lovetox

    so its in theory supported, though not by default

  15. moparisthebest

    we had an unfortunate user in our IRC channel once who chose the nickname 'z' and his client would highlight him constantly if we said zapped or yowza or anything like that

  16. moparisthebest

    so we abused him a lot :)

  17. Link Mauve

    Martin, yes, Converse.js does support it, sending and receiving.

  18. pep.

    Martin, I suggest you suggest the Beagle devs not to do it this way :x

  19. Link Mauve

    How it works is that when you press @ it presents you with a list of users in the room, you pick one cycling with tab, and on sending it replaces @Martin with Martin in the body, and adds a reference.

  20. Link Mauve

    Race condition happens when the user left in-between these two operations.

  21. pep.

    What converse does makes a bit more sense already

  22. Link Mauve

    Sure.

  23. Martin

    Not sure if I can convince them.

  24. Link Mauve

    You can point them to Converse, the only other XMPP client (to my knowledge) to use @nicks.

  25. Link Mauve

    And which thankfully doesn’t put the @ on the wire.

  26. Link Mauve

    So that it integrates properly with the ecosystem.

  27. jonas’

    Link Mauve, how does that cause a race condition?

  28. jonas’

    is it stupid and only processes the @-mention when the message is sent instead of when it’s composed? :(

  29. Link Mauve

    Yes.

  30. Link Mauve

    Was this not clear in my description, “on sending it replaces @Martin with Martin in the body, and adds a reference.”?

  31. pep.

    Also there's no buffer and if you start replying to somebody who lives the room you can't autocomplete anymore either

  32. pep.

    Also there's no buffer and if you start replying to somebody who leaves the room you can't autocomplete anymore either

  33. Martin

    Same with profanity.

  34. pep.

    well with profanity (or other clients that don't do @things), you can just write the nickname

  35. pep.

    With converse it would also add the reference, that it doesn't do in this case

  36. moparisthebest

    I've unfortunately been forced to use MS teams lately, it interprets formatting as you type, but with a bit of delay, and replaces it in-line

  37. Martin

    Ah they use what Georg linked earlier.

  38. MattJ

    Converse can work with the list of room members though, which is handy and counters all the issues of people leaving

  39. moparisthebest

    which means if you type :) and hit enter, it'll actually send text :) then put a real smiley in your text box after the message was sent

  40. moparisthebest

    same with code blocks and everything else, it's TERRIBLE to work with

  41. moparisthebest

    like if I want to send code `bla` I have to put a space after the last ` and wait a few seconds for it to be replaced, if I hit enter too fast, it doesn't do any formatting

  42. moparisthebest

    seriously who would implement something this bad

  43. Martin

    Sounds terrible indeed.

  44. Link Mauve

    MattJ, I should finish my module which automatically promotes regulars to members, and demote them once they aren’t present for a long time.

  45. Link Mauve

    But I’ve been trying to generalise that for statistics too, so it isn’t finished yet.

  46. MattJ

    Yes please

  47. Wojtek

    Hi Martin, yes - I'm from Tigase/Beagle. As I explained in the linked issue - we decided to go with `@` as it's states the intention of mentioning someone more explicitly (and it helps with avoiding abuse as moparisthebest mentiond with guy nicknamed `z`); there is yet another argument for that, and this is somewhat related to push notifications -- in Tigase you can currently "register" your nickname and then you would get notifications for intentional mentions in MUC (instead of including even random correlations) Current argument for not sendongi `@` over wire boils down to basically: other clients don't do it and we don't like it (mostly because of habbit and because other client don't do it) There is xep-0372 but as Ge0rG said - nobody uses it; and as yo mendioned - it may be tricky to use in MUC (though, I think that maybe using FullJID with room+nick would work)

  48. Link Mauve

    Wojtek, no, the main argument against @ is that encoding intent in the body is a terrible idea, see the current LC on XEP-0393.

  49. Wojtek

    yet everyone assumes that a string should be assume as 'mention' - which is IMHO equally as bad

  50. Martin

    I am only a user so I don't know what is the best solution but having two ways of mentions is a bad UX because I wasn't notified of Beagle users mentioning me.

  51. Wojtek

    Martin out of curiosity - which client do you use?

  52. pep.

    Wojtek, what Link Mauve says

  53. Link Mauve

    Wojtek, do you expect BeagleIM to make the entire ecosystem to change, or do you plan on keeping it to controlled environments where it only has to interact with itself?

  54. Link Mauve

    Otherwise, as you can see from me hling you, most people using other clients will use the traditional way, not the Slack way.

  55. Martin

    Wojtek: Regularly I use profanity and Conversations. Sometimes also Dino and Gajim.

  56. Wojtek

    @Link Mauve it's not 'slack way' - afair there were prior usage (twitter comes to mind I guess, mastodon uses it the same way); A lot of IM's actually uses `@` as a way to mention… There is no XEP that mandates that mentions should come in a plaintext form - it's just an assumption, which is quite bad (because as shown it breaks when suddenly someone doesn't follow something that's not written)

  57. Link Mauve

    Maybe Someone™ should write a XEP about the current usage.

  58. Link Mauve

    I said Slack because AFAIK it’s the one which popularised @ mentions for IM, but yes that probably comes from Twitter.

  59. Link Mauve

    Or from perl, dunno. :D

  60. Wojtek

    Link Mauve do we really want to standardise current usage though? when there is 0372? :-)

  61. Link Mauve

    I don’t believe so, but as historical why not.

  62. pep.

    Wojtek, the point is wire format vs input format

  63. pep.

    The rest, the specific sigil etc., doesn't actually matter :)

  64. pulkomandy

    I can see the French hate the way the @ key is unconvenient for their azerty keyboards :o)

  65. Martin

    Where is the @ on French keyboard layout?

  66. MattJ

    Wojtek: use 372. Converse supports it, and I'm happily using it for sending notifications from MUCs

  67. MattJ

    (Prosody)

  68. MattJ

    Based on registered nicks, as it sounds like you are too

  69. MattJ

    Having another compatible client would be great :)

  70. Link Mauve

    Martin, AltGr+0.

  71. MattJ

    (I have been asked why other clients don't generate the notifications, and I had to defend the sorry state of the XMPP ecosystem... let's fix that!)

  72. Link Mauve

    MattJ, +1!

  73. Wojtek

    we are leaning towards 0372, but funnily enough, @Link Mauve - we do hope that "the entire ecosystem to change" by adopting it as well ;-)

  74. Link Mauve

    Me too. :)

  75. Link Mauve

    But this is an actual improvement, while using @ like you’re doing is just preventing my client from hl’ing me, and doesn’t have any benefit other than familiarity for Slack users.