XSF Discussion - 2021-07-14

  1. Ge0rG

    Can we have XEP-0157, but for bots?

  2. jonas’

    Ge0rG, what stops a bot from using '157?

  3. Ge0rG

    jonas’: on the bare JID?

  4. jonas’

    full JID

  5. Ge0rG

    That requires the bot to be online

  6. jonas’

    that’s true

  7. jonas’

    (same for servers publishing '157 though)

  8. Ge0rG

    Also you need to have presence with the bot, which might or might not work

  9. jonas’

    or you observe a message from the bot, that would come from the full jid

  10. Ge0rG

    Yes, but there also happen to be bots that send a flood of messages, disconnect, and come back later with a different random resource

  11. jonas’


  12. jonas’

    so you actually want '157 on the account. how about a vcard? :)

  13. jonas’

    bonus: vcard is likely to pass through MUC

  14. Zash

    Wasn't there a field you could put 'software' in for vcard4

  15. Ge0rG

    I don't want the software, I want to know whom to write that their bot is blocked for a year now.

  16. jonas’

    could put something like: <email> <parameters><type><text>work</text></type></parameters> <text>psaintan@cisco.com</text> </email> in the vcard (stolen from '292)

  17. Ge0rG

    That psaintan is everywhere!

  18. flow

    Ge0rG, specify a way how an entity can publish/set xep157 information on their bare jid?

  19. Zash

    I think you can refer to your "boss" too

  20. Ge0rG

    flow: that sounds like it would be better in PEP, or even vCard

  21. jonas’

    how about vCard in PEP? :-O

  22. Ge0rG

    But no bot does it anyway.

  23. Zash

    It would actually ve interesting to have a bot account type

  24. flow

    we do have an disco indentity 'bot'

  25. Ge0rG

    Zash: a server could automatically set that when doing disco

  26. Zash


  27. Ge0rG

    But what if you have multiple clients connected, and only one is a bot? Do we need a botness gradient?

  28. jonas’

    Ge0rG, the identity is part of the resource’ disco#info response

  29. Ge0rG

    jonas’: yes, I suggested to use that to automatically set the account bot flag

  30. Zash

    Saving devi disco#info in the account feels like something that's been mentioned before

  31. Ge0rG

    A device registry? I've noticed that during server shutdown, very much time is spent deleting the non existent firewall flags from all connected accounts. We really need to do something about disk IO