mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +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 """
|
""" 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