Skip to content

Commit

Permalink
Finish v0.10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
manuroe committed Apr 23, 2018
2 parents f062f77 + a0409f2 commit 46f35e8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Changes in Matrix iOS SDK in 0.10.9 (2018-04-23)
===============================================

Bug fixes:
* Regression: Sending a photo from the photo library causes a crash.

Changes in Matrix iOS SDK in 0.10.8 (2018-04-20)
===============================================

Expand Down
4 changes: 2 additions & 2 deletions MatrixSDK.podspec
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.8"
s.version = "0.10.9"
s.summary = "The iOS SDK to build apps compatible with Matrix (https://www.matrix.org)"

s.description = <<-DESC
Expand All @@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.author = { "matrix.org" => "support@matrix.org" }
s.social_media_url = "http://twitter.com/matrixdotorg"

s.source = { :git => "https://github.com/matrix-org/matrix-ios-sdk.git", :tag => "v0.10.8" }
s.source = { :git => "https://github.com/matrix-org/matrix-ios-sdk.git", :tag => "v0.10.9" }

s.requires_arc = true

Expand Down
2 changes: 1 addition & 1 deletion MatrixSDK/MXSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#pragma mark - Constants definitions

const NSString *MatrixSDKVersion = @"0.10.8";
const NSString *MatrixSDKVersion = @"0.10.9";
NSString *const kMXSessionStateDidChangeNotification = @"kMXSessionStateDidChangeNotification";
NSString *const kMXSessionNewRoomNotification = @"kMXSessionNewRoomNotification";
NSString *const kMXSessionWillLeaveRoomNotification = @"kMXSessionWillLeaveRoomNotification";
Expand Down
4 changes: 2 additions & 2 deletions MatrixSDK/Utils/Media/MXMediaManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -596,14 +596,14 @@ + (NSString*)cachePathForMediaWithURL:(NSString*)url andType:(NSString *)mimeTyp
// This issue involves several rooms with the same avatar. It happens mainly for the users of the homeservers with a long name.
// Patch: we split the url in two components, and invert them in order to have the mediaId at the beginning of the string.
NSUInteger urlLength = url.length;
NSMutableString *reversedURL;
NSMutableString *reversedURL = nil;
if (urlLength > 2)
{
NSUInteger index = urlLength / 2;
reversedURL = [NSMutableString stringWithString:[url substringFromIndex:index]]; ;
[reversedURL appendString:[url substringToIndex:index]];
}
else
else if (url)
{
reversedURL = [NSMutableString stringWithString:url];
}
Expand Down
4 changes: 2 additions & 2 deletions SwiftMatrixSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SwiftMatrixSDK"
s.version = "0.10.8"
s.version = "0.10.9"
s.summary = "The iOS SDK to build apps compatible with Matrix (https://www.matrix.org)"

s.description = <<-DESC
Expand All @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"

s.source = { :git => "https://github.com/matrix-org/matrix-ios-sdk.git", :tag => "v0.10.8" }
s.source = { :git => "https://github.com/matrix-org/matrix-ios-sdk.git", :tag => "v0.10.9" }
s.source_files = "MatrixSDK", "MatrixSDK/**/*.{h,m,swift}"

s.requires_arc = true
Expand Down

0 comments on commit 46f35e8

Please sign in to comment.