mirror of
https://github.com/Sunnyyoung/WeChatTweak-macOS.git
synced 2025-07-07 16:16:07 +08:00
parent
fc82ea965c
commit
64e4febabd
|
@ -27,7 +27,7 @@ static void __attribute__((constructor)) tweak(void) {
|
||||||
return [self tweak_FFToNameFavChatZZ:message sessionMsgList:sessionMsgList];
|
return [self tweak_FFToNameFavChatZZ:message sessionMsgList:sessionMsgList];
|
||||||
}
|
}
|
||||||
// Decode message
|
// Decode message
|
||||||
NSDictionary *dictionary = [NSDictionary dictionaryWithXMLString:message.msgContent];
|
NSDictionary *dictionary = [NSDictionary dictionaryWithXMLString:[message.msgContent componentsSeparatedByCharactersInSet:NSCharacterSet.newlineCharacterSet].lastObject];
|
||||||
NSString *session = dictionary[@"revokemsg"][@"session"];
|
NSString *session = dictionary[@"revokemsg"][@"session"];
|
||||||
NSString *newMessageID = dictionary[@"revokemsg"][@"newmsgid"];
|
NSString *newMessageID = dictionary[@"revokemsg"][@"newmsgid"];
|
||||||
NSString *replaceMessage = dictionary[@"revokemsg"][@"replacemsg"];
|
NSString *replaceMessage = dictionary[@"revokemsg"][@"replacemsg"];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user