summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-01-10 18:36:06 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-10 22:41:56 +0100
commit39f9b7d90adbdbc9eb6186d93bb6bfd0564c152c (patch)
tree600a18ee72fe9e1e2a508ff8c11673ae5a6250ed /src/ui
parentFix some nulls in relations (diff)
downloadnheko-39f9b7d90adbdbc9eb6186d93bb6bfd0564c152c.tar.xz
Handle matrix scheme
Link opening only works on Linux for now.

See https://github.com/matrix-org/matrix-doc/pull/2312
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/UserProfile.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp

index 974aa5cc..6ef82123 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp
@@ -202,12 +202,7 @@ UserProfile::kickUser() void UserProfile::startChat() { - mtx::requests::CreateRoom req; - req.preset = mtx::requests::Preset::PrivateChat; - req.visibility = mtx::requests::Visibility::Private; - if (utils::localUser() != this->userid_) - req.invite = {this->userid_.toStdString()}; - emit ChatPage::instance()->createRoom(req); + ChatPage::instance()->startChat(this->userid_); } void