From 3dee60e9e53b243627af82cf95ce5993c4036dd9 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 3 Apr 2021 14:56:56 -0700 Subject: [PATCH] Uses correct redis remove activity type --- bookwyrm/activitystreams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/activitystreams.py b/bookwyrm/activitystreams.py index 094cbafd1..94ba23bc9 100644 --- a/bookwyrm/activitystreams.py +++ b/bookwyrm/activitystreams.py @@ -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):