From bf10187a1dbe94fa6e170d5ba1f9de1184d30c8e Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Thu, 25 Jun 2026 18:35:40 +0300 Subject: [PATCH] Docstring for ProfileUpdateAction --- synapse/api/constants.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 80505da6d1..952beb0257 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -411,9 +411,22 @@ class ProfileFields: class ProfileUpdateAction(enum.Enum): + """ + Enum representing the action of a row in the profile updates stream tables. + """ + JOINED_ROOM = "joined_room" + """ + User joined a room. + """ LEFT_ROOM = "left_room" + """ + User left a room. + """ UPDATE = "update" + """ + User updated a profile field. + """ class StickyEventField(TypedDict):