requestDirectChat

Use Quotient::connection::requestDirectChat directly as it can already handle all the conditions.
This commit is contained in:
James Graham
2024-10-04 16:52:05 +00:00
parent a314e56425
commit e26392ce94
7 changed files with 15 additions and 43 deletions

View File

@@ -38,7 +38,7 @@ Kirigami.Dialog {
text: i18n("OK")
icon.name: "dialog-ok"
onTriggered: {
root.connection.openOrCreateDirectChat(userIdText.text);
root.connection.requestDirectChat(userIdText.text);
root.accept();
}
}