diff options
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r-- | synapse/events/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py index 87529854c4..e06bba7afb 100644 --- a/synapse/events/__init__.py +++ b/synapse/events/__init__.py @@ -612,6 +612,10 @@ class FrozenLinearizedEvent(FrozenEventV3): depth = 0 # type: ignore[assignment] @property + def origin(self) -> str: + return get_domain_from_id(self.sender) + + @property def pdu_domain(self) -> str: """The domain which added this event to the DAG. |