[bug] Emoji react does not disappear, shows 0 instead #584

Closed
opened 2023-07-09 16:20:48 +00:00 by Ghost · 3 comments

Your setup

Docker

Extra details

Arch linux building docker image from source

Version

8c956bc671

PostgreSQL version

14.8

What were you trying to do?

I deactivated a user for spamming and noticed their emoji reactions were still visible on posts, despite there being "0" users who have reacted.

What did you expect to happen?

Emoji reaction should not show up if there are 0 accounts listed.

What actually happened?

Emoji react is still visible even when no accounts have used it, after deactivating the person who put it on.

Logs

No response

Severity

I can manage

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup Docker ### Extra details Arch linux building docker image from source ### Version 8c956bc671 ### PostgreSQL version 14.8 ### What were you trying to do? I deactivated a user for spamming and noticed their emoji reactions were still visible on posts, despite there being "0" users who have reacted. ### What did you expect to happen? Emoji reaction should not show up if there are 0 accounts listed. ### What actually happened? Emoji react is still visible even when no accounts have used it, after deactivating the person who put it on. ### Logs _No response_ ### Severity I can manage ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
Ghost added the
bug
label 2023-07-09 16:20:48 +00:00

I'm also having this issue. I underestimated the importance of blocking certain remote instances, and ended up having my instance get brigaded. The comments cleaned up fine, but the puke and laugh emoji reacts are plastered all over the place, unfortunately.

I've also noticed that from a refreshed page, it'll show the original number of users who reacted, and then only drop it down to zero on mouse-hover.

Even if it's a patch-work temporary solution, I'd love to know if there's a way to remove the affected emojis while waiting for the bug to get fixed.

I'm also having this issue. I underestimated the importance of blocking certain remote instances, and ended up having my instance get brigaded. The comments cleaned up fine, but the puke and laugh emoji reacts are plastered all over the place, unfortunately. I've also noticed that from a refreshed page, it'll show the original number of users who reacted, and then only drop it down to zero on mouse-hover. Even if it's a patch-work temporary solution, I'd love to know if there's a way to remove the affected emojis while waiting for the bug to get fixed.

so the reason this happens is that reactions are actually stored inline on the activity itself (don't ask, long story), so deactivating a user won't scrub reaction data, and it would be rather intensive to do it on demand

however adding cleanup to the objectv pruner scheduled task to take care of this is certainly doable I think

so the reason this happens is that reactions are actually stored inline on the activity itself (don't ask, long story), so deactivating a user won't scrub reaction data, and it would be rather intensive to do it on demand however adding cleanup to the objectv pruner scheduled task to take care of this is certainly doable I think

fixed via 8fe29bf5d2

fixed via 8fe29bf5d2f6899f646c2b767
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#584
No description provided.