Skip to content

Fix replying and editing from chatbox

James Graham requested to merge work/nvrwhere/fix_chatbox_edit_reply into master

Restore the functionality to edit or reply to the last message in the chatbar.

This is achieved be moving the functions getLastLocalUserMessageEventId and getLatestMessageFromRow to NeoChatRoom as editLastMessage and replyLastMessage as chatbar no longer has access to messageEventModel.

The functions are also simplified as they only need to find the eventId and always from row 0 as this was the only use of the functions.

BUG: 469733

Merge request reports

Loading