jdev - 2022-01-23


  1. xnamed

    > xnamed, I'll leave comments later today/tomorrow jonas’: it's been 9 days and I'm still waiting, did you forget?

  2. jonas’

    things came up

  3. jonas’

    but thanks for the reminder

  4. jonas’

    xnamed, stating the obvious, you're aware that XEPs are primarily written in XML, not markdown?

  5. xnamed

    jonas’: no problem, if you need more time I can remind you again

  6. jonas’

    looking at it now

  7. xnamed

    Yes, I thought you will help with the XML part

  8. jonas’

    right, you can mess with the md2xep tool which is somewhere in the util/tools directory

  9. jonas’

    it is a bit opinionated about the exact markdown format, so I suggest that you use xep2md on an existing first to see what format it expects

  10. Zash

    `pandoc -t 2xep.lua` even

  11. Zash

    `pandoc yourxep.md -t tools/2xep.lua` even

  12. jonas’

    other than that, please take a look at the xep-template.xml and the sections it has by default -- the introduction and motivation section are missing from your document, those are required to understand what you're doing.

  13. jonas’

    in addition, this document definitely requires security considerations

  14. xnamed

    I haven't written the whole document yet, I will try add the rest very soon

  15. jonas’

    thanks

  16. jonas’

    it's typically a good idea to start with the motivation section

  17. jonas’

    it helps people understand what your goal is

  18. xnamed

    I will do my best to make it clear. Thank you too jonas’

  19. lovetox

    i wonder why does every messegner say "User x read this message"

  20. lovetox

    when in reality everybody knows the device can never know if a human read a message, except the human explicitly tells the device via a button

  21. lovetox

    the chat marker xep did somehow account for that and named the element correctly "<displayed>" and not "<read>"

  22. lovetox

    as in the client can be sure he displayed the message on the screen

  23. lovetox

    but not if the user really read it

  24. lovetox

    i wonder why we dont communicate this fact to the contact, "Message was displayed", instead of "Message was read"

  25. lovetox

    its subtle but it prevents users from complaining, that the client marked a message as read when they maybe had no time to read it really, but only opend a chat for example

  26. defanor

    I guess that (the reasoning behind it may be that) some of the users may be confused by "displayed", while "read" is already commonly used in mail clients and feed readers to mean "was displayed at some point".

  27. xnamed

    We show "displayed" for <displayed> element, but "read" for <acknowledged> element