2018-03-01 20:51:20 +00:00
|
|
|
from funkwhale_api.common.consumers import JsonAuthConsumer
|
|
|
|
|
|
|
|
|
|
|
|
class InstanceActivityConsumer(JsonAuthConsumer):
|
|
|
|
groups = ["instance_activity"]
|
|
|
|
|
|
|
|
def event_send(self, message):
|
2018-06-09 13:36:16 +00:00
|
|
|
self.send_json(message["data"])
|