fix(chat): 回复后再移出待处理

This commit is contained in:
yml2213
2026-08-25 20:27:26 +08:00
parent 16237dcefc
commit cc91979b34
6 changed files with 44 additions and 9 deletions
@@ -33,6 +33,7 @@ type conversationRow struct {
LastSenderID uint64
LastSenderRole string
UnreadCount int64
NeedsReply int64
CreatedAt time.Time
UpdatedAt time.Time
}
@@ -333,6 +334,7 @@ func (row conversationRow) toDTO(participants []ParticipantDTO) ConversationDTO
LastSenderID: row.LastSenderID,
LastSenderRole: row.LastSenderRole,
UnreadCount: row.UnreadCount,
NeedsReply: row.NeedsReply > 0,
CreatedAt: row.CreatedAt,
UpdatedAt: row.UpdatedAt,
}