Skip to content

Commit

Permalink
Fix Connection::supportedMatrixSpecVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasFella committed Nov 19, 2024
1 parent 2092ebc commit 42297e4
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 42297e4

Please sign in to comment.