New groups
This commit is contained in:
@@ -61,7 +61,7 @@ class FanOutOnWriteService < BaseService
|
||||
|
||||
Rails.logger.debug "Delivering status #{status.id} to group"
|
||||
|
||||
# Redis.current.publish("timeline:group:#{status.group_id}", @payload)
|
||||
Redis.current.publish("timeline:group:#{status.group_id}", @payload)
|
||||
end
|
||||
|
||||
def deliver_to_mentioned_followers(status)
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
class GroupQueryService < BaseService
|
||||
def call(group)
|
||||
Status.distinct
|
||||
.as_group_timeline(group)
|
||||
Status.as_group_timeline(group)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user