diff --git a/osinaweb/osichat/consumers.py b/osinaweb/osichat/consumers.py index b5378ab5..8d523b80 100644 --- a/osinaweb/osichat/consumers.py +++ b/osinaweb/osichat/consumers.py @@ -402,7 +402,7 @@ class OsitcomChatRoom(WebsocketConsumer): async_to_sync(self.channel_layer.group_discard)( self.group, self.channel_name ) - self.group = f"{self.session_id}_{self.chat_room.id}" + self.group = f"chat_{self.chat_room.id}" async_to_sync(self.channel_layer.group_add)( self.group, self.channel_name )