mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +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) {
|
for (auto roomid : joined_rooms) {
|
||||||
if (roomid == targetRoomId) {
|
if (roomid == targetRoomId) {
|
||||||
room_list_->highlightSelectedRoom(mxid1);
|
room_list_->highlightSelectedRoom(mxid1);
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1436,7 +1436,7 @@ ChatPage::handleMatrixUri(const QByteArray &uri)
|
||||||
if (aliases->alias == targetRoomAlias) {
|
if (aliases->alias == targetRoomAlias) {
|
||||||
room_list_->highlightSelectedRoom(
|
room_list_->highlightSelectedRoom(
|
||||||
QString::fromStdString(roomid));
|
QString::fromStdString(roomid));
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue