Skip to content

Commit

Permalink
Fix typo in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
manuroe committed Jul 10, 2019
1 parent 9165a3e commit 309ec07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MatrixSDK/Crypto/Algorithms/Megolm/MXMegolmEncryption.m
Original file line number Diff line number Diff line change
Expand Up @@ -369,14 +369,14 @@ - (MXHTTPOperation*)shareKey:(MXOutboundSessionInfo*)session
}
};

NSLog(@"[MXMegolEncryption] shareKey with %@", devicesByUser);
NSLog(@"[MXMegolmEncryption] shareKey with %@", devicesByUser);

MXHTTPOperation *operation;
MXWeakify(self);
operation = [crypto ensureOlmSessionsForDevices:devicesByUser success:^(MXUsersDevicesMap<MXOlmSessionResult *> *results) {
MXStrongifyAndReturnIfNil(self);

NSLog(@"[MXMegolEncryption] shareKey. ensureOlmSessionsForDevices result: %@", results);
NSLog(@"[MXMegolmEncryption] shareKey. ensureOlmSessionsForDevices result: %@", results);

MXUsersDevicesMap<NSDictionary*> *contentMap = [[MXUsersDevicesMap alloc] init];
BOOL haveTargets = NO;
Expand Down Expand Up @@ -419,8 +419,8 @@ - (MXHTTPOperation*)shareKey:(MXOutboundSessionInfo*)session

if (haveTargets)
{
//NSLog(@"[MXMegolEncryption] shareKey. Actually share with %tu users and %tu devices: %@", contentMap.userIds.count, contentMap.count, contentMap);
NSLog(@"[MXMegolEncryption] shareKey. Actually share with %tu users and %tu devices", contentMap.userIds.count, contentMap.count);
//NSLog(@"[MXMegolmEncryption] shareKey. Actually share with %tu users and %tu devices: %@", contentMap.userIds.count, contentMap.count, contentMap);
NSLog(@"[MXMegolmEncryption] shareKey. Actually share with %tu users and %tu devices", contentMap.userIds.count, contentMap.count);

MXHTTPOperation *operation2 = [self->crypto.matrixRestClient sendToDevice:kMXEventTypeStringRoomEncrypted contentMap:contentMap txnId:nil success:^{

Expand Down

0 comments on commit 309ec07

Please sign in to comment.