Skip to content

Commit

Permalink
Fix #427 #428
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyyoung committed Feb 9, 2022
1 parent fc82ea9 commit 64e4feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeChatTweak/AntiRevoke.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ - (void)tweak_FFToNameFavChatZZ:(MessageData *)message sessionMsgList:(nullable
return [self tweak_FFToNameFavChatZZ:message sessionMsgList:sessionMsgList];
}
// Decode message
NSDictionary *dictionary = [NSDictionary dictionaryWithXMLString:message.msgContent];
NSDictionary *dictionary = [NSDictionary dictionaryWithXMLString:[message.msgContent componentsSeparatedByCharactersInSet:NSCharacterSet.newlineCharacterSet].lastObject];
NSString *session = dictionary[@"revokemsg"][@"session"];
NSString *newMessageID = dictionary[@"revokemsg"][@"newmsgid"];
NSString *replaceMessage = dictionary[@"revokemsg"][@"replacemsg"];
Expand Down

0 comments on commit 64e4feb

Please sign in to comment.