Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.27.7 #1850

Merged
merged 6 commits into from
May 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Changes in 0.27.7 (2024-05-01)

No significant changes.


## Changes in 0.27.6 (2024-02-07)

No significant changes.
2 changes: 1 addition & 1 deletion 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.27.6"
s.version = "0.27.7"
s.summary = "The iOS SDK to build apps compatible with Matrix (https://www.matrix.org)"

s.description = <<-DESC
6 changes: 6 additions & 0 deletions MatrixSDK/Crypto/MXCrypto.h
Original file line number Diff line number Diff line change
@@ -95,6 +95,12 @@ extern NSString *const MXDeviceListDidUpdateUsersDevicesNotification;
*/
@property (nullable, nonatomic, readonly) NSString *deviceEd25519Key;


/**
* The user device creation in local timestamp, milliseconds since epoch.
*/
@property (nonatomic, readonly) UInt64 deviceCreationTs;

/**
The key backup manager.
*/
6 changes: 6 additions & 0 deletions MatrixSDK/Crypto/MXCrypto.m
Original file line number Diff line number Diff line change
@@ -1422,6 +1422,12 @@ - (NSString *)olmVersion
#endif
}

- (uint64_t)deviceCreationTs
{
// Device creation timestamp is not support in legacy crypto
return 0;
}


#pragma mark - Gossipping

5 changes: 5 additions & 0 deletions MatrixSDK/Crypto/MXCryptoV2.swift
Original file line number Diff line number Diff line change
@@ -56,6 +56,11 @@ class MXCryptoV2: NSObject, MXCrypto {
return machine.deviceEd25519Key
}

var deviceCreationTs: UInt64 {
// own device always exists
return machine.device(userId: machine.userId, deviceId: machine.deviceId)!.firstTimeSeenTs
}

let backup: MXKeyBackup?
let keyVerificationManager: MXKeyVerificationManager
let crossSigning: MXCrossSigning
2 changes: 1 addition & 1 deletion MatrixSDK/MatrixSDKVersion.m
Original file line number Diff line number Diff line change
@@ -16,4 +16,4 @@

#import <Foundation/Foundation.h>

NSString *const MatrixSDKVersion = @"0.27.6";
NSString *const MatrixSDKVersion = @"0.27.7";