@@ -420,13 +420,6 @@ QQC2.ScrollView {
|
||||
popup.open()
|
||||
}
|
||||
|
||||
function showUserDetail(user) {
|
||||
userDetailDialog.createObject(QQC2.ApplicationWindow.overlay, {
|
||||
room: root.currentRoom,
|
||||
user: root.currentRoom.getUser(user.id),
|
||||
}).open();
|
||||
}
|
||||
|
||||
function goToLastMessage() {
|
||||
root.currentRoom.markAllMessagesAsRead()
|
||||
// scroll to the very end, i.e to messageListView.YEnd
|
||||
@@ -496,4 +489,11 @@ QQC2.ScrollView {
|
||||
function positionViewAtBeginning() {
|
||||
messageListView.positionViewAtBeginning()
|
||||
}
|
||||
|
||||
function showUserDetail(user) {
|
||||
userDetailDialog.createObject(QQC2.ApplicationWindow.overlay, {
|
||||
room: root.currentRoom,
|
||||
user: root.currentRoom.getUser(user.id),
|
||||
}).open();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -177,4 +177,8 @@ Kirigami.Page {
|
||||
root.header.contentItem.type = Kirigami.MessageType.Warning;
|
||||
root.header.visible = true;
|
||||
}
|
||||
|
||||
function showUserDetail(user) {
|
||||
timelineViewLoader.item.showUserDetail(user)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user