fix: allow scrolling to ContactRequest message (#14045)
This commit is contained in:
parent
74440c81e5
commit
5ba0ad8ef4
|
@ -665,9 +665,8 @@ method onGetMessageById*(self: Module, requestId: UUID, messageId: string, messa
|
|||
self.view.setMessageSearchOngoing(false)
|
||||
return
|
||||
|
||||
if message.contentType == ContentType.ContactIdentityVerification or
|
||||
message.contentType == ContentType.ContactRequest:
|
||||
warn "attempted to scroll to a non-displayed message", messageId, contentType = $message.contentType
|
||||
if message.contentType == ContentType.ContactIdentityVerification:
|
||||
warn "attempted to scroll to a non-visual message", messageId, contentType = $message.contentType
|
||||
self.view.setMessageSearchOngoing(false)
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue