jdev - 2023-07-23


  1. lovetox

    MattJ, the metdata last stanza-id, not sure how much it helps us

  2. lovetox

    it cannot used in any query except the one where you request a single message

  3. lovetox

    because all the filters are excluding the ids

  4. lovetox

    the timestamps are probably more useful in practive

  5. lovetox

    the timestamps are probably more useful in practice

  6. lovetox

    i hoped we could create a query that says, give me everything from stanza-id X until the most current one in the archive at point of time when i send the query

  7. lovetox

    but this would need a inclusive range filter condition

  8. lovetox

    hmm i can, if i use the timestamp from the metadata .. instead of the stanza-id because timestamp filters are inclusive

  9. MattJ

    Timestamps are almost always wrong to use for sync

  10. MattJ

    E.g. if you fetch the metadata and someone sends a message in the same second, you'll not fetch it

  11. lovetox

    hm .. i dont think they are as bad as you make them

  12. lovetox

    if i make a timestamp query, im guaranteed to get all messages hat are equal to this timestamp

  13. lovetox

    i dont think there is a race condition which would make this not true

  14. MattJ

    Mmm, right. That'll be why I did that then 🙂

  15. lovetox

    its a bit late now, but a filter query where the stanza ids are range inclusive, would be nic

  16. lovetox

    its a bit late now, but a filter query where the stanza ids are range inclusive, would be nice