mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 08:07:14 +00:00
Merge pull request #865 from mouse-reeve/zrem
Uses correct redis remove activity type
This commit is contained in:
commit
7b3c85f351
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