-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
99 changed files
with
8,385 additions
and
3,346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "MatrixSDK" | ||
s.version = "0.10.12" | ||
s.version = "0.11.0" | ||
s.summary = "The iOS SDK to build apps compatible with Matrix (https://www.matrix.org)" | ||
|
||
s.description = <<-DESC | ||
|
@@ -17,7 +17,7 @@ Pod::Spec.new do |s| | |
s.author = { "matrix.org" => "[email protected]" } | ||
s.social_media_url = "http://twitter.com/matrixdotorg" | ||
|
||
s.source = { :git => "https://github.com/matrix-org/matrix-ios-sdk.git", :tag => "v0.10.12" } | ||
s.source = { :git => "https://github.com/matrix-org/matrix-ios-sdk.git", :tag => "v#{s.version}" } | ||
|
||
s.requires_arc = true | ||
|
||
|
@@ -35,8 +35,8 @@ Pod::Spec.new do |s| | |
ss.dependency 'GZIP', '~> 1.2.1' | ||
|
||
# Requirements for e2e encryption | ||
ss.dependency 'OLMKit', '~> 2.2.2' | ||
ss.dependency 'Realm', '~> 3.6.0' | ||
ss.dependency 'OLMKit', '~> 2.3.0' | ||
ss.dependency 'Realm', '~> 3.7.4' | ||
end | ||
|
||
s.subspec 'JingleCallStack' do |ss| | ||
|
@@ -65,4 +65,10 @@ Pod::Spec.new do |s| | |
ss.ios.dependency 'GoogleAnalytics' | ||
end | ||
|
||
s.subspec 'SwiftSupport' do |ss| | ||
ss.source_files = "MatrixSDK", "MatrixSDK/**/*.{swift}" | ||
|
||
ss.dependency 'MatrixSDK/Core' | ||
end | ||
|
||
end |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
Copyright 2018 New Vector Ltd | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
import Foundation | ||
|
||
extension MXRoomSummary { | ||
|
||
/// The membership state of the logged in user for this room | ||
/// | ||
/// If the membership is `invite`, the room state contains few information. | ||
/// Join the room with [MXRoom join] to get full information about the room. | ||
public var membership: MXMembership { | ||
return MXMembership(identifier: self.__membership) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.