Ensure new filter is actually created

This commit is contained in:
Andrew Morgan 2019-01-22 12:06:36 +00:00
parent c9bfb058d8
commit c433f61091
2 changed files with 1 additions and 2 deletions

View file

@ -454,7 +454,7 @@ class Filter(object):
filter: A new filter including the given rooms and the old
filter's rooms.
"""
newFilter = self
newFilter = Filter(self.filter_json)
newFilter.rooms += room_ids
return newFilter