mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
dedent a block that was clearly meant to be de-dented
Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
@@ -201,10 +201,10 @@ class EventConsumer(AsyncJsonWebsocketConsumer):
|
|||||||
for group_name in new_groups_exclusive:
|
for group_name in new_groups_exclusive:
|
||||||
await self.channel_layer.group_add(group_name, self.channel_name)
|
await self.channel_layer.group_add(group_name, self.channel_name)
|
||||||
|
|
||||||
await self.channel_layer.group_send(
|
await self.channel_layer.group_send(
|
||||||
settings.BROADCAST_WEBSOCKET_GROUP_NAME,
|
settings.BROADCAST_WEBSOCKET_GROUP_NAME,
|
||||||
{"type": "consumer.subscribe", "groups": list(new_groups), "origin_channel": self.channel_name},
|
{"type": "consumer.subscribe", "groups": list(new_groups), "origin_channel": self.channel_name},
|
||||||
)
|
)
|
||||||
self.scope['session']['groups'] = new_groups
|
self.scope['session']['groups'] = new_groups
|
||||||
await self.send_json({"groups_current": list(new_groups), "groups_left": list(old_groups), "groups_joined": list(new_groups_exclusive)})
|
await self.send_json({"groups_current": list(new_groups), "groups_left": list(old_groups), "groups_joined": list(new_groups_exclusive)})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user