Skip to content

Commit

Permalink
extraneous print
Browse files Browse the repository at this point in the history
  • Loading branch information
ieaves committed Nov 7, 2023
1 parent b577cb8 commit d9b2c1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions grai-server/app/grAI/consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def disconnect(self, close_code):
def receive(self, text_data):
data: dict = json.loads(text_data)
socket_message_type = data.get("type", None)
print(data)
match socket_message_type:
case "chat.message":
self.chat_message(data)
Expand All @@ -79,7 +78,6 @@ def chat_message(self, event: dict):

# Insure the conversation exists
if payload.chat_id not in self.active_chats:
print("LOOK AT ME NOW")
chat, created = UserChat.objects.get_or_create(membership=self.membership, id=payload.chat_id)
self.active_chats.add(chat.id)

Expand Down

0 comments on commit d9b2c1b

Please sign in to comment.