Don't ask to join joined rooms when clicking matrix uri

pull/504/head
Nicolas Werner 4 years ago
parent a651643f6e
commit a0fad2513e
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      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;
}
}
}

Loading…
Cancel
Save