mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
Uses correct redis remove activity type
This commit is contained in:
parent
e51a287cd3
commit
3dee60e9e5
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class ActivityStream(ABC):
|
|||
""" remove a status from all feeds """
|
||||
pipeline = r.pipeline()
|
||||
for user in self.stream_users(status):
|
||||
pipeline.lrem(self.stream_id(user), -1, status.id)
|
||||
pipeline.zrem(self.stream_id(user), -1, status.id)
|
||||
pipeline.execute()
|
||||
|
||||
def add_user_statuses(self, viewer, user):
|
||||
|
|
Loading…
Reference in a new issue