diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-03-31 15:14:48 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-03-31 15:14:48 +0100 |
commit | 03e406eefcc7f993c075ba86ec1a433dc09545e4 (patch) | |
tree | c1c1c798703a7e799aa00c51c0f314e719cb93d5 /synapse/events/__init__.py | |
parent | Merge pull request #679 from matrix-org/erikj/member (diff) | |
parent | Move the check for backfilled outside the for loop (diff) | |
download | synapse-03e406eefcc7f993c075ba86ec1a433dc09545e4.tar.xz |
Merge pull request #680 from matrix-org/markjh/remove_is_new_state
Remove the is_new_state argument to persist event.
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r-- | synapse/events/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py index 925a83c645..13154b1723 100644 --- a/synapse/events/__init__.py +++ b/synapse/events/__init__.py @@ -33,6 +33,9 @@ class _EventInternalMetadata(object): def is_outlier(self): return getattr(self, "outlier", False) + def is_invite_from_remote(self): + return getattr(self, "invite_from_remote", False) + def _event_dict_property(key): def getter(self): |