Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix spam box disappears
Browse files Browse the repository at this point in the history
  • Loading branch information
haoict committed Apr 25, 2020
1 parent 38b1f06 commit 8c95808
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static void PreferencesChangedCallback(CFNotificationCenterRef center, void *obs

for (int i = 1; i < [orig count]; i++) {
NSArray *row = orig[i];
if (!noads || (noads && [row[1] intValue] != 2)) {
if (!noads || (noads && [row[1] intValue] != 2) || ([row[2] isKindOfClass:[NSArray class]] && [row[2][1] isEqual:@"message_requests_spam_unit"])) {
[resultRows addObject:row];
}
}
Expand Down
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: com.haoict.messengernoads
Name: Messenger No Ads
Depends: mobilesubstrate, preferenceloader, com.opa334.ccsupport, firmware (>= 10)
Version: 2.5.0
Version: 2.5.1
Architecture: iphoneos-arm
Description: The best tweak for Messenger app.
The best tweak for Messenger app.
Expand Down
Binary file not shown.

0 comments on commit 8c95808

Please sign in to comment.