Port away from methods removed in libquotient. This fixes BUG: 497458
(cherry picked from commit b7dee707a3)
Co-authored-by: Jan Rathmann <jan.rathmann@gmx.de>
This commit is contained in:
@@ -198,7 +198,7 @@ Kirigami.Page {
|
||||
Shortcut {
|
||||
sequence: StandardKey.Cancel
|
||||
onActivated: {
|
||||
if (!timelineViewLoader.item.atYEnd || root.currentRoom.hasUnreadMessages) {
|
||||
if (!timelineViewLoader.item.atYEnd || !root.currentRoom.partiallyReadStats.empty()) {
|
||||
timelineViewLoader.item.goToLastMessage();
|
||||
root.currentRoom.markAllMessagesAsRead();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user