mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
Refactored generation of unique tags, URIs and object URLs into own classes,
as well as formatting of content
This commit is contained in:
@@ -44,7 +44,7 @@ class RemoveStatusService < BaseService
|
||||
end
|
||||
|
||||
def unpush(type, receiver, status)
|
||||
redis.zremrangebyscore(FeedManager.key(type, receiver.id), status.id, status.id)
|
||||
redis.zremrangebyscore(FeedManager.instance.key(type, receiver.id), status.id, status.id)
|
||||
ActionCable.server.broadcast("timeline:#{receiver.id}", type: 'delete', id: status.id)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user