Skip to content

Commit

Permalink
Merge pull request #1460 from matrix-org/travis/spec/v1.3-edit/nothreads
Browse files Browse the repository at this point in the history
Remove spec v1.3 check for threads
  • Loading branch information
ismailgulek authored May 11, 2022
2 parents 2e3a5f2 + 8841274 commit 766d74c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions 1460.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update check for server-side threads support to match spec.
4 changes: 2 additions & 2 deletions MatrixSDK/JSONModels/MXMatrixVersions.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 766d74c

Please sign in to comment.