mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Don't ask to join joined rooms when clicking matrix uri
This commit is contained in:
parent
a651643f6e
commit
a0fad2513e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue