Skip to content

Commit 8590f70

Browse files
committed
Allow summary to be nil.
1 parent 208cff8 commit 8590f70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/ARTJsonLikeEncoder.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ - (ARTMessage *)messageFromDictionary:(NSDictionary *)input protocolMessage:(ART
299299
if (operation && [operation isKindOfClass:[NSDictionary class]]) {
300300
message.operation = [ARTMessageOperation createFromDictionary:operation];
301301
}
302-
message.summary = [input objectForKey:@"summary"] ?: (message.action == ARTMessageActionMessageSummary ? @{} : nil); // enforce TM2q (https://ably-real-time.slack.com/archives/C03JDBVM5MY/p1749124425224069?thread_ts=1749051904.445159&cid=C03JDBVM5MY)
302+
message.summary = [input objectForKey:@"summary"];
303303

304304
return message;
305305
}

0 commit comments

Comments
 (0)