Fix creating broken direct chat for user with a direct chat already open
Just enter the existing room instead of trying to create a new one but broken. Fix !237
This commit is contained in:
@@ -146,7 +146,7 @@ Kirigami.OverlaySheet {
|
||||
text: i18n("Open a private chat")
|
||||
icon.name: "document-send"
|
||||
onTriggered: {
|
||||
Controller.activeConnection.requestDirectChat(user)
|
||||
Controller.openOrCreateDirectChat(user);
|
||||
root.close()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user