XSF Discussion - 2018-03-31


  1. pep.

    winfried, thanks for the wiki page! (I don't remember if I already said)

  2. winfried

    pep. Thanks, I couldn't have done it without your notes!

  3. Ge0rG

    What's the correct way to handle MUC-PMs in MAM?

  4. Zash

    Run away screaming!

  5. Ge0rG

    Zash: that doesn't work because I don't know which messages in MAM are MUC-PMs

  6. Ge0rG

    case in point: a user has left a MUC a while ago, but is receiving MUC-PMs from MAM now, which the client doesn't correctly identify as PMs

  7. Zash

    Without the <{muc}x>?

  8. Ge0rG

    This is either a bug in Conversations, which doesn't identify them as MUC-PMs (and I know that's a mess) or a bug in prosody for storing them in user's MAM

  9. Ge0rG

    Zash: yes

  10. Holger

    I think PMs should be stored in MAM (until they die).

  11. Ge0rG

    Holger: which MAM

  12. Ge0rG

    User's or MUCs?

  13. daniel

    I think storing PMs in user archive is fine

  14. daniel

    Considering the general mess that PMs are

  15. daniel

    And I think C2 will recognize them correctly as PMs if they have the x tag

  16. Ge0rG

    daniel: and if they don't?

  17. Ge0rG

    daniel: a user complained about conversations showing PMs from a month ago as normal non PMs from the MUC JID

  18. Ge0rG

    The "from a month ago" part is probably an unrelated prosody bug

  19. daniel

    Ge0rG: maybe old version

  20. daniel

    I was talking only c2

  21. Holger

    Ge0rG: Maybe it's good enough if we fix the case where the tag was added.

  22. Ge0rG

    Holger: maybe

  23. Ge0rG

    daniel: happened on beta 2

  24. daniel

    Ge0rG: I don't recall when I fixed that

  25. Ge0rG

    daniel: me neither 😀

  26. daniel

    OK let me rephrase this. I know when I fixed it. But I didn't know when I made the beta2

  27. Ge0rG

    daniel: alright, thanks. I'll suggest the user to update.

  28. Zash

    Is there a XEP template in the xeps repo?

  29. daniel

    Ge0rG: yeah I would have preferred if fdroid didn't make the beta version stable

  30. daniel

    And then stay on that version for weeks

  31. daniel

    You get what you pay for

  32. Ge0rG

    I guess that's fair. I've got my own share of free riders

  33. Kev

    Zash: There is.

  34. daniel

    Ge0rG, fwiw (neat Conversations trick #143) i also check if the domain matches the known discovered muc server

  35. daniel

    that only works on the 'home' muc server

  36. daniel

    but for regular users thats 88% of the cases

  37. Ge0rG

    daniel: you could check against all bookmarks and MUC domains

  38. daniel

    yes. but i'm afraid of false positives

  39. daniel

    who knows what people put in their bookmarks

  40. Ge0rG

    Yaxim even comes with a static server list

  41. Ge0rG

    daniel: right, the implications will be very interesting

  42. Zash

    What about the neat trick where you can have user@host and room@host? :)

  43. Ge0rG

    Zash: it's a nice way to make everyone do more round trips

  44. Zash

    Waaaaaaaaaait a minute

  45. Zash

    > stamp | The time when the XML stanza was originally sent

  46. Zash

    in xep-0203

  47. Zash

    Shouldn't that be "received by whoever caused the delay"?

  48. Zash

    The speed of light, electrons and CPU cycles aren't infinite, so only the sender knows exacly when it was originally sent.

  49. Zash

    Modulo time sync issues.

  50. Ge0rG

    Modulo the philosophical meaning of "to send"