From 9e87b82631fec49fcc33ae8fc1f53c2bf46c0f0d Mon Sep 17 00:00:00 2001 From: Justice Parham Date: Wed, 15 Feb 2023 19:31:14 -0500 Subject: [PATCH] Remove extra arg --- MacOS-10/BlueBubblesHelper/BlueBubblesHelper.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacOS-10/BlueBubblesHelper/BlueBubblesHelper.m b/MacOS-10/BlueBubblesHelper/BlueBubblesHelper.m index 624a6df..b645578 100644 --- a/MacOS-10/BlueBubblesHelper/BlueBubblesHelper.m +++ b/MacOS-10/BlueBubblesHelper/BlueBubblesHelper.m @@ -763,7 +763,7 @@ +(void) sendMessage: (NSDictionary *) data transfers: (NSArray *) transfers attr isAudioMessage = [data[@"isAudioMessage"] integerValue] == 1; } - void (^createMessage)(NSAttributedString*, NSAttributedString*, NSString*, NSString*, NSArray*, BOOL, BOOL) = ^(NSAttributedString *message, NSAttributedString *subject, NSString *effectId, NSString *threadIdentifier, NSArray *transferGUIDs, BOOL isAudioMessage) { + void (^createMessage)(NSAttributedString*, NSAttributedString*, NSString*, NSString*, NSArray*, BOOL) = ^(NSAttributedString *message, NSAttributedString *subject, NSString *effectId, NSString *threadIdentifier, NSArray *transferGUIDs, BOOL isAudioMessage) { IMMessage *messageToSend = [[IMMessage alloc] init]; messageToSend = [messageToSend initWithSender:(nil) time:(nil) text:(message) messageSubject:(subject) fileTransferGUIDs:(transferGUIDs) flags:(isAudioMessage ? 0x300005 : (subject ? 0x10000d : 0x100005)) error:(nil) guid:(nil) subject:(nil) balloonBundleID:(nil) payloadData:(nil) expressiveSendStyleID:(effectId)]; [chat sendMessage:(messageToSend)];