fix(chat): don't record last_msg & last_read_id

This commit is contained in:
MingxuanGame
2025-08-17 15:59:21 +00:00
parent 33cf04b1c8
commit 3476c71c3d
2 changed files with 8 additions and 4 deletions

View File

@@ -167,7 +167,8 @@ async def mark_as_read(
if db_channel is None:
raise HTTPException(status_code=404, detail="Channel not found")
assert db_channel.channel_id
await server.mark_as_read(db_channel.channel_id, message)
assert current_user.id
await server.mark_as_read(db_channel.channel_id, current_user.id, message)
class PMReq(BaseModel):