forked from melod1n/fast-messenger
refactor(longpoll): route parsed long poll events through dedicated handler and persist message/conversation state updates
This commit is contained in:
@@ -613,6 +613,7 @@ class ConvosViewModel(
|
||||
if (convoIndex == null) { // диалога нет в списке
|
||||
// pizdets
|
||||
} else {
|
||||
// TODO: 30.05.2026, Danil Nikolaev: reimplement
|
||||
newConvos.removeAt(convoIndex)
|
||||
|
||||
replaceConvos(newConvos.sorted())
|
||||
|
||||
+1
@@ -1037,6 +1037,7 @@ class MessagesHistoryViewModelImpl(
|
||||
isSpam = false,
|
||||
pinnedAt = null,
|
||||
formatData = formatData,
|
||||
isDeleted = false
|
||||
)
|
||||
formatData = formatData.copy(items = emptyList())
|
||||
sendingMessages += newMessage
|
||||
|
||||
Reference in New Issue
Block a user