mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 16:16:39 +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 """
|
""" remove a status from all feeds """
|
||||||
pipeline = r.pipeline()
|
pipeline = r.pipeline()
|
||||||
for user in self.stream_users(status):
|
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()
|
pipeline.execute()
|
||||||
|
|
||||||
def add_user_statuses(self, viewer, user):
|
def add_user_statuses(self, viewer, user):
|
||||||
|
|
Loading…
Reference in a new issue