Don't ask to join joined rooms when clicking matrix uri
This commit is contained in:
parent
a651643f6e
commit
a0fad2513e
@ -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 New Issue
Block a user