Skip to content

Commit 6377287

Browse files
committed
Revert inadvertent rebase change
1 parent b1024b6 commit 6377287

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chat_server/sio/handlers/user_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def user_message(sid, data):
6767
LOG.info(f"Received user message data: {data}")
6868
try:
6969
data["is_bot"] = data.pop("bot", "0")
70-
data["context"] = data.get("context", {})
70+
data["context"] = data.get("context") or {}
7171
is_bot = data["is_bot"] == "1"
7272
is_proctor = False
7373
if data["userID"].startswith("neon") and not is_bot:

0 commit comments

Comments
 (0)