summary refs log tree commit diff
path: root/resources/qml/TimelineSectionHeader.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/TimelineSectionHeader.qml')
-rw-r--r--resources/qml/TimelineSectionHeader.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/resources/qml/TimelineSectionHeader.qml b/resources/qml/TimelineSectionHeader.qml
index 17971b75..4ae4f286 100644
--- a/resources/qml/TimelineSectionHeader.qml
+++ b/resources/qml/TimelineSectionHeader.qml
@@ -73,10 +73,6 @@ Column {
             function onRoomAvatarUrlChanged() {
                 messageUserAvatar.url = room.avatarUrl(userId).replace("mxc://", "image://MxcImage/");
             }
-            function onScrollToIndex(index) {
-                chat.positionViewAtIndex(index, ListView.Center);
-            }
-
             target: room
         }