Skip to content
Snippets Groups Projects
  1. Apr 09, 2021
  2. Apr 06, 2021
    • Andrew Morgan's avatar
      Add a Synapse Module for configuring presence update routing (#9491) · 04819239
      Andrew Morgan authored
      At the moment, if you'd like to share presence between local or remote users, those users must be sharing a room together. This isn't always the most convenient or useful situation though.
      
      This PR adds a module to Synapse that will allow deployments to set up extra logic on where presence updates should be routed. The module must implement two methods, `get_users_for_states` and `get_interested_users`. These methods are given presence updates or user IDs and must return information that Synapse will use to grant passing presence updates around.
      
      A method is additionally added to `ModuleApi` which allows triggering a set of users to receive the current, online presence information for all users they are considered interested in. This is the equivalent of that user receiving presence information during an initial sync. 
      
      The goal of this module is to be fairly generic and useful for a variety of applications, with hard requirements being:
      
      * Sending state for a specific set or all known users to a defined set of local and remote users.
      * The ability to trigger an initial sync for specific users, so they receive all current state.
      Unverified
      04819239
  3. Feb 16, 2021
  4. Jan 05, 2021
  5. Jul 22, 2020
  6. May 15, 2020
  7. May 05, 2020
  8. Mar 09, 2020
  9. Feb 07, 2020
  10. Jan 29, 2020
  11. Jun 20, 2019
  12. Oct 24, 2018
    • Richard van der Hoff's avatar
      Fix a number of flake8 errors · ef771cc4
      Richard van der Hoff authored
      Broadly three things here:
      
      * disable W504 which seems a bit whacko
      * remove a bunch of `as e` expressions from exception handlers that don't use
        them
      * use `r""` for strings which include backslashes
      
      Also, we don't use pep8 any more, so we can get rid of the duplicate config
      there.
      ef771cc4
  13. Aug 10, 2018
  14. Jul 09, 2018
  15. Jan 17, 2017
  16. Nov 22, 2016
  17. Nov 21, 2016
  18. Feb 19, 2016
  19. Jan 07, 2016
  20. Oct 16, 2015
  21. Dec 16, 2014
  22. Nov 11, 2014
  23. Sep 12, 2014
  24. Sep 03, 2014
  25. Aug 13, 2014
  26. Aug 12, 2014
Loading