Skip to content
Snippets Groups Projects
  1. Apr 03, 2020
    • Richard van der Hoff's avatar
      Fix device list update stream ids going backward (#7158) · daa1ac89
      Richard van der Hoff authored
      Occasionally we could get a federation device list update transaction which
      looked like:
      
      ```
      [
          {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D2', 'prev_id': [], 'stream_id': 12, 'deleted': True}},
          {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D1', 'prev_id': [12], 'stream_id': 11, 'deleted': True}},
          {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D3', 'prev_id': [11], 'stream_id': 13, 'deleted': True}}
      ]
      ```
      
      Having `stream_ids` which are lower than `prev_ids` looks odd. It might work
      (I'm not actually sure), but in any case it doesn't seem like a reasonable
      thing to expect other implementations to support.
      Unverified
      daa1ac89
  2. Mar 30, 2020
  3. Mar 27, 2020
  4. Mar 24, 2020
  5. Feb 21, 2020
  6. Feb 07, 2020
  7. Dec 04, 2019
  8. Nov 27, 2019
  9. Aug 20, 2019
  10. Jul 29, 2019
  11. Jun 20, 2019
  12. May 29, 2019
  13. May 10, 2019
  14. Mar 20, 2019
  15. Aug 10, 2018
  16. Jul 09, 2018
  17. Jul 04, 2018
  18. Jan 26, 2016
  19. Jan 07, 2016
  20. Nov 17, 2015
  21. Apr 01, 2015
  22. Feb 11, 2015
  23. Dec 18, 2014
  24. Dec 11, 2014
  25. Dec 09, 2014
  26. Nov 19, 2014
  27. Nov 14, 2014
  28. Nov 13, 2014
  29. Nov 04, 2014
  30. Oct 17, 2014
  31. Oct 16, 2014
  32. Oct 15, 2014
  33. Oct 14, 2014
  34. Oct 13, 2014
  35. Oct 02, 2014
  36. Sep 30, 2014
Loading