File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
java/com/wmods/wppenhacer/xposed/features/general Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ protected void beforeHookedMethod(MethodHookParam param) throws Exception {
6161 var fMessage = new FMessageWpp (param .args [0 ]);
6262 var messageKey = fMessage .getKey ();
6363 var deviceJid = fMessage .getDeviceJid ();
64+ var id = fMessage .getRowId ();
6465 var messageID = (String ) XposedHelpers .getObjectField (fMessage .getObject (), "A01" );
6566 // Caso o proprio usuario tenha deletado o status
6667 if (WppCore .getPrivBoolean (messageID + "_delpass" , false )) {
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ public void doHook() throws Exception {
5959 var filterChats = prefs .getString ("chatfilter" , null );
6060 var strokeButtons = prefs .getBoolean ("strokebuttons" , false );
6161 var outlinedIcons = prefs .getBoolean ("outlinedicons" , false );
62+ var filterSeen = prefs .getBoolean ("filterseen" , false );
6263 var fbstyle = Integer .parseInt (prefs .getString ("facebookstyle" , "0" ));
6364 var metaai = prefs .getBoolean ("metaai" , false );
6465 var topnav = prefs .getBoolean ("topnav" , false );
@@ -76,7 +77,7 @@ public void doHook() throws Exception {
7677 var animationEmojis = prefs .getBoolean ("animation_emojis" , false );
7778
7879 propsInteger .put (3877 , oldStatus ? igstatus ? 2 : 0 : 2 );
79- propsBoolean .put (5171 , true );
80+ propsBoolean .put (5171 , filterSeen ); // filtros de chat e grupos
8081 propsBoolean .put (4524 , novoTema );
8182 propsBoolean .put (4497 , menuWIcons );
8283 propsBoolean .put (4023 , newSettings );
Original file line number Diff line number Diff line change 142142 <string name =" send" >Send</string >
143143 <string name =" do_you_want_to_send_sticker" >Do you want to send sticker?</string >
144144 <string name =" send_sticker" >Send Sticker</string >
145+ <string name =" enable_filter_chats" >Enable filter chats for type</string >
146+ <string name =" enable_filter_chats_sum" >Show options to filter chats for groups, contacts and unseen messages</string >
145147 <string name =" disable_channels" >Hide Channels</string >
146148 <string name =" disable_channels_sum" >Hide Channels from Updates tab</string >
147149 <string name =" chat" >Chat</string >
Original file line number Diff line number Diff line change 6363 app : summary =" @string/show_online_last_seen_in_conversation_list_sum"
6464 app : title =" @string/show_online_last_seen_in_conversation_list" />
6565
66+ <rikka .material.preference.MaterialSwitchPreference
67+ app : key =" filterseen"
68+ app : summary =" @string/enable_filter_chats_sum"
69+ app : title =" @string/enable_filter_chats" />
70+
6671 <rikka .material.preference.MaterialSwitchPreference
6772 app : key =" metaai"
6873 app : summary =" @string/disable_metaai_sum"
7277 app : entries =" @array/chatfilter_buttons"
7378 app : entryValues =" @array/chatfilter_values"
7479 app : key =" chatfilter"
75- app : dependency =" metaai"
7680 app : summary =" @string/novofiltro_sum"
7781 app : title =" @string/novofiltro" />
7882
You can’t perform that action at this time.
0 commit comments