import QtQuick 2.12 import "../Base" HBoxPopup { summary.text: qsTr("Clear this room's messages?") details.text: qsTr( "The messages will only be removed on your side. " + "They will be available again after you restart the application." ) box.focusButton: "ok" onOk: py.callClientCoro(userId, "clear_events", [roomId]) property string userId: "" property string roomId: "" }