refactor(longpoll): route parsed long poll events through dedicated handler and persist message/conversation state updates

This commit is contained in:
2026-05-30 17:17:32 +03:00
parent f11b8dc6f4
commit fc3b3cfcb3
14 changed files with 889 additions and 274 deletions
@@ -1037,6 +1037,7 @@ class MessagesHistoryViewModelImpl(
isSpam = false,
pinnedAt = null,
formatData = formatData,
isDeleted = false
)
formatData = formatData.copy(items = emptyList())
sendingMessages += newMessage