Skip to content

Commit

Permalink
Merge pull request #25 from mrsylerpowers/patch-3
Browse files Browse the repository at this point in the history
Fix subject's with messages
  • Loading branch information
tneotia authored Feb 16, 2023
2 parents 5c2349a + 9e87b82 commit 480c5be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MacOS-10/BlueBubblesHelper/BlueBubblesHelper.m
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ +(void) sendMessage: (NSDictionary *) data transfers: (NSArray *) transfers attr

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 ? 18874369 : 100005) error:(nil) guid:(nil) subject:(nil) balloonBundleID:(nil) payloadData:(nil) expressiveSendStyleID:(effectId)];
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)];
if (transaction != nil) {
[[NetworkController sharedInstance] sendMessage: @{@"transactionId": transaction, @"identifier": [[chat lastFinishedMessage] guid]}];
Expand Down

0 comments on commit 480c5be

Please sign in to comment.