summary refs log tree commit diff
path: root/synapse/handlers/device.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2021-10-21 17:42:25 +0100
committerGitHub <noreply@github.com>2021-10-21 17:42:25 +0100
commit6408372234eef2d72a13ee838c07199751c56378 (patch)
tree494d4e8582c1c4b3d532f2d7e76ce0ab96780d12 /synapse/handlers/device.py
parentAdd missing type hints to synapse.crypto. (#11146) (diff)
downloadsynapse-6408372234eef2d72a13ee838c07199751c56378.tar.xz
Improve docstrings for methods related to sending EDUs to application services (#11138)
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r--synapse/handlers/device.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index 6eafbea25d..68b446eb66 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -454,6 +454,10 @@ class DeviceHandler(DeviceWorkerHandler):
     ) -> None:
         """Notify that a user's device(s) has changed. Pokes the notifier, and
         remote servers if the user is local.
+
+        Args:
+            user_id: The Matrix ID of the user who's device list has been updated.
+            device_ids: The device IDs that have changed.
         """
         if not device_ids:
             # No changes to notify about, so this is a no-op.