fix: 移除消息来源标记[网页]

This commit is contained in:
2026-04-12 00:12:57 +08:00
parent 027830b0d6
commit 2c007c4801
5 changed files with 6 additions and 1 deletions

View File

@@ -258,7 +258,7 @@ async def websocket_endpoint(websocket: WebSocket, user_id: str, db: Session = D
# 同步到Matrix如果有房间
if matrix_bot.is_running and matrix_bot.last_room_id:
await matrix_bot.send_message(matrix_bot.last_room_id, f"[网页] {message}")
await matrix_bot.send_message(matrix_bot.last_room_id, message)
# 获取对话历史
history = conv_service.get_conversation_history(conversation_id, limit=20)