fix(message_model): Notify replied message changes on edited

This commit is contained in:
Igor Sirotin 2022-10-12 18:05:43 +03:00 committed by Igor Sirotin
parent 813dbc57c0
commit 05f2699bec
1 changed files with 2 additions and 0 deletions

View File

@ -506,6 +506,8 @@ QtObject:
ModelRole.MentionedUsersPks.int
])
self.updateContactInReplies(messageId)
proc clear*(self: Model) =
self.beginResetModel()
self.items = @[]