From a2c5bd41d7f15be1bf75e71b250173548b564b7f Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Fri, 6 Dec 2024 22:29:48 +0000 Subject: [PATCH] Fix compile time errors on current develop --- Monal/Classes/MLIQProcessor.m | 2 +- Monal/Classes/MLOMEMO.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Monal/Classes/MLIQProcessor.m b/Monal/Classes/MLIQProcessor.m index f84186096..604a1a59f 100644 --- a/Monal/Classes/MLIQProcessor.m +++ b/Monal/Classes/MLIQProcessor.m @@ -372,7 +372,7 @@ +(BOOL) processRosterWithAccount:(xmpp*) account andIqNode:(XMPPIQ*) iqNode andAccount:account.accountID]; NSSet* groups = [NSSet setWithArray:[contactNode find:@"group#"]]; - DDLogVerbose(@"Setting roster groups for contact %@: ", contact[@"jid"], groups); + DDLogVerbose(@"Setting roster groups for contact %@: %@", contact[@"jid"], groups); [[DataLayer sharedInstance] setGroups:groups forContact:contact[@"jid"] inAccount:account.accountID]; diff --git a/Monal/Classes/MLOMEMO.m b/Monal/Classes/MLOMEMO.m index ffad7811f..2508d5c92 100644 --- a/Monal/Classes/MLOMEMO.m +++ b/Monal/Classes/MLOMEMO.m @@ -756,7 +756,7 @@ -(void) processOMEMOKeys:(MLXMLNode*) item forJid:(NSString*) jid andRid:(NSNumb uint32_t deviceId = (uint32_t)rid.unsignedIntValue; SignalAddress* address = [[SignalAddress alloc] initWithName:jid deviceId:deviceId]; SignalSessionBuilder* builder = [[SignalSessionBuilder alloc] initWithAddress:address context:self.signalContext]; - NSArray* preKeyIds = [bundle find:@"prekeys/preKeyPublic@preKeyId|uint"]; + NSMutableArray* preKeyIds = [[bundle find:@"prekeys/preKeyPublic@preKeyId|uint"] mutableCopy]; if(preKeyIds == nil || preKeyIds.count == 0) {