Timothy J. Baek 10 tháng trước cách đây
mục cha
commit
b094153af2
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      backend/apps/socket/main.py

+ 2 - 2
backend/apps/socket/main.py

@@ -145,7 +145,7 @@ async def get_event_emitter(request_info):
             "chat-events",
             {
                 "chat_id": request_info["chat_id"],
-                "message_id": request_info["id"],
+                "message_id": request_info["message_id"],
                 "data": event_data,
             },
             to=request_info["session_id"],
@@ -160,7 +160,7 @@ async def get_event_call(request_info):
             "chat-events",
             {
                 "chat_id": request_info["chat_id"],
-                "message_id": request_info["id"],
+                "message_id": request_info["message_id"],
                 "data": event_data,
             },
             to=request_info["session_id"],