Skip to content

Commit

Permalink
Merge #834(tobias): Fix Connection::supportedMatrixSpecVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal authored Nov 19, 2024
2 parents 2092ebc + 42297e4 commit 09147f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Quotient/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ bool Connection::capabilitiesReady() const
return d->capabilities.roomVersions.has_value();
}

QStringList Connection::supportedMatrixSpecVersions() const { return d->apiVersions.versions; }
QStringList Connection::supportedMatrixSpecVersions() const { return d->data->homeserverData().supportedSpecVersions; }

void Connection::Private::saveAccessTokenToKeychain() const
{
Expand Down
1 change: 0 additions & 1 deletion Quotient/connection_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class Q_DECL_HIDDEN Quotient::Connection::Private {
QMetaObject::Connection syncLoopConnection {};
int syncTimeout = -1;

GetVersionsJob::Response apiVersions{};
GetCapabilitiesJob::Capabilities capabilities{};

QVector<GetLoginFlowsJob::LoginFlow> loginFlows;
Expand Down

0 comments on commit 09147f9

Please sign in to comment.