From adef668eff464a62cb55f5e323a9267771e146c2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 9 May 2022 16:40:30 -0600 Subject: [PATCH 1/2] Remove spec v1.3 check for threads Citation: https://matrix.to/#/!ewdjhNcPcEmYNKzlWp:t2l.io/$CkPuvKdFZyFL547JCy5J3MfvLaWUo_a1XEdmiop1PKc?via=matrix.org&via=element.io&via=envs.net --- MatrixSDK/JSONModels/MXMatrixVersions.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MatrixSDK/JSONModels/MXMatrixVersions.m b/MatrixSDK/JSONModels/MXMatrixVersions.m index 6437858c4d..8ac4256c62 100644 --- a/MatrixSDK/JSONModels/MXMatrixVersions.m +++ b/MatrixSDK/JSONModels/MXMatrixVersions.m @@ -111,8 +111,8 @@ - (BOOL)doesServerSupportSeparateAddAndBind - (BOOL)supportsThreads { - return [self serverSupportsVersion:MXMatrixClientServerAPIVersion.v1_3] - || [self serverSupportsFeature:kJSONKeyMSC3440]; + // TODO: Check for v1.3 or whichever spec version formally specifies MSC3440. + return [self serverSupportsFeature:kJSONKeyMSC3440]; } #pragma mark - Private From 8841274f623f7ff273633ff668ff4151de4abcfb Mon Sep 17 00:00:00 2001 From: ismailgulek Date: Wed, 11 May 2022 15:01:31 +0300 Subject: [PATCH 2/2] Add changelog --- 1460.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 1460.misc diff --git a/1460.misc b/1460.misc new file mode 100644 index 0000000000..328f3c0079 --- /dev/null +++ b/1460.misc @@ -0,0 +1 @@ +Update check for server-side threads support to match spec.