Upgrade libqmatrixclient && tweak room list model.
This commit is contained in:
parent
a3472e795c
commit
1919f0ca8e
|
@ -1 +1 @@
|
||||||
Subproject commit f3a251404c00787b650e618fb5c257162507c18b
|
Subproject commit f004c32ae4291fd8eca7f4106af7582e6fc86f5a
|
|
@ -25,7 +25,7 @@ void RoomListModel::setConnection(QMatrixClient::Connection* connection) {
|
||||||
connect(connection, &QMatrixClient::Connection::aboutToDeleteRoom, this,
|
connect(connection, &QMatrixClient::Connection::aboutToDeleteRoom, this,
|
||||||
&RoomListModel::deleteRoom);
|
&RoomListModel::deleteRoom);
|
||||||
|
|
||||||
doResetModel();
|
if (!connection->accessToken().isEmpty()) doResetModel();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RoomListModel::doResetModel() {
|
void RoomListModel::doResetModel() {
|
||||||
|
|
Loading…
Reference in New Issue