diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-01 01:46:22 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-01 01:46:22 +0100 |
commit | a0fad2513eff0105535b64ed118ed702e30014bc (patch) | |
tree | 396999588c086692ba0363f187b51934aee7c697 | |
parent | Translated using Weblate (French) (diff) | |
download | nheko-a0fad2513eff0105535b64ed118ed702e30014bc.tar.xz |
Don't ask to join joined rooms when clicking matrix uri
-rw-r--r-- | src/ChatPage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index aae9271d..c21c3571 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -1419,7 +1419,7 @@ ChatPage::handleMatrixUri(const QByteArray &uri) for (auto roomid : joined_rooms) { if (roomid == targetRoomId) { room_list_->highlightSelectedRoom(mxid1); - break; + return; } } @@ -1436,7 +1436,7 @@ ChatPage::handleMatrixUri(const QByteArray &uri) if (aliases->alias == targetRoomAlias) { room_list_->highlightSelectedRoom( QString::fromStdString(roomid)); - break; + return; } } } |