Skip to content
Snippets Groups Projects
  1. Jul 27, 2024
  2. Jul 01, 2024
  3. Jun 12, 2024
    • Benjamin Lee's avatar
      drop redacted events from search results · 0688a96c
      Benjamin Lee authored and 🥺's avatar 🥺 committed
      
      Signed-off-by: default avatarstrawberry <strawberry@puppygock.gay>
      0688a96c
    • Benjamin Lee's avatar
      fix dropped events in search · 81cd677b
      Benjamin Lee authored and 🥺's avatar 🥺 committed
      
      The previous code would drop some events entirely if any events between
      `skip` and `skip + limit` were not visible to the user. This would cause
      the set of events skipped by the `skip(skip)` method to extend past
      `skip` in the raw result set, because `skip(skip)` was being called
      *after* filtering out invisible events.
      
      This bug will become much more severe with a full filtering
      implementation, because it will be more likely for events to be filtered
      out. Currently, it is only possible to trigger with rooms that have
      history visibility set to "invited" or "joined".
      
      Signed-off-by: default avatarstrawberry <strawberry@puppygock.gay>
      81cd677b
    • Benjamin Lee's avatar
      fix missing next_batch for search · 73da353e
      Benjamin Lee authored and 🥺's avatar 🥺 committed
      
      The previous code would fail to return next_batch if any of the events
      in the window were not visible to the user. It would also return an
      unnecessary next_batch when no more results are available if the total
      number of results is exactly `skip + limit`.
      
      This bug will become much more severe with a full filtering
      implementation, because we will be more likely to trigger it by
      filtering out events in a search call. Currently, it is only possible to
      trigger with rooms that have history visibility set to "invited" or
      "joined".
      
      Signed-off-by: default avatarstrawberry <strawberry@puppygock.gay>
      73da353e
  4. Jun 06, 2024
  5. May 06, 2024
  6. Apr 26, 2024
  7. Apr 06, 2024
  8. Mar 27, 2024
  9. Mar 23, 2024
  10. Mar 08, 2024
  11. Mar 04, 2024
  12. Jul 02, 2023
  13. Mar 13, 2023
  14. Dec 16, 2022
  15. Oct 31, 2022
  16. Oct 10, 2022
  17. Aug 15, 2022
  18. Apr 07, 2022
  19. Feb 18, 2022
  20. Feb 12, 2022
  21. Feb 04, 2022
  22. Oct 13, 2021
  23. Sep 13, 2021
  24. Aug 31, 2021
  25. Jul 14, 2021
  26. Jun 21, 2021
Loading