diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-05 14:03:00 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-05 14:03:00 +0000 |
commit | f08bd958802679de89e29bc60da7ecf29e130ca2 (patch) | |
tree | 1b3c14cae9b04223805dccd0d730910f4cd80b64 /synapse/events/__init__.py | |
parent | SYN-202: Log as WARN the 404 'Presence information not visible' errors instea... (diff) | |
parent | Change context.auth_events to what the auth_events would be bases on context.... (diff) | |
download | synapse-f08bd958802679de89e29bc60da7ecf29e130ca2.tar.xz |
Merge pull request #47 from matrix-org/signature_failures
Federation fixes.
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r-- | synapse/events/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py index bf07951027..8f0c6e959f 100644 --- a/synapse/events/__init__.py +++ b/synapse/events/__init__.py @@ -77,7 +77,7 @@ class EventBase(object): return self.content["membership"] def is_state(self): - return hasattr(self, "state_key") + return hasattr(self, "state_key") and self.state_key is not None def get_dict(self): d = dict(self._event_dict) |