1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index eb279579e7..c82e0d53ec 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -239,8 +239,8 @@ class _Signatures:
def get_dict(self) -> JsonDict:
return _decode_dict(self._signatures_bytes)
- def get(self, server_name):
- return self.get_dict().get(server_name)
+ def get(self, server_name, default=None):
+ return self.get_dict().get(server_name, default)
def update(self, other: Union[JsonDict, "_Signatures"]):
if isinstance(other, _Signatures):
|