Cancel reply when pressing keybind on same event
This commit is contained in:
parent
12cfbd2a96
commit
1feda8667f
|
@ -117,6 +117,11 @@ Rectangle {
|
|||
|
||||
if (! event) return
|
||||
|
||||
if (event.id === chat.replyToEventId) {
|
||||
chat.clearReplyTo()
|
||||
return
|
||||
}
|
||||
|
||||
chat.replyToEventId = event.id
|
||||
chat.replyToUserId = event.sender_id
|
||||
chat.replyToDisplayName = event.sender_name
|
||||
|
|
Loading…
Reference in New Issue
Block a user