2019-09-09 20:23:46 +10:00
|
|
|
import QtQuick 2.12
|
|
|
|
import "../Base"
|
|
|
|
|
2019-09-09 20:25:08 +10:00
|
|
|
HBoxPopup {
|
2019-09-09 20:32:29 +10:00
|
|
|
summary.text: qsTr("Clear this room's messages?")
|
|
|
|
details.text: qsTr(
|
2019-09-09 20:23:46 +10:00
|
|
|
"The messages will only be removed on your side. " +
|
|
|
|
"They will be available again after you restart the application."
|
|
|
|
)
|
|
|
|
|
|
|
|
onOk: py.callClientCoro(userId, "clear_events", [roomId])
|
|
|
|
|
|
|
|
|
|
|
|
property string userId: ""
|
|
|
|
property string roomId: ""
|
|
|
|
}
|