moment/src/qml/Popups/LeaveRoomPopup.qml

18 lines
394 B
QML
Raw Normal View History

2019-09-09 23:12:51 +10:00
import QtQuick 2.12
BoxPopup {
summary.text: qsTr("Leave %1?").arg(roomName)
details.text: qsTr(
"If this room is private, you will not be able to rejoin it."
)
okText: qsTr("Leave")
box.focusButton: "ok"
onOk: py.callClientCoro(userId, "room_leave", [roomId])
property string userId: ""
property string roomId: ""
property string roomName: ""
}