mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Remove seen messages from notifications. Display user and group names in notifications only if they differ from each other.
This commit is contained in:
@@ -174,9 +174,9 @@ public class ProfileNotificationsActivity extends BaseFragment implements Notifi
|
||||
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("Notifications", Activity.MODE_PRIVATE);
|
||||
SharedPreferences.Editor editor = preferences.edit();
|
||||
editor.putInt("notify2_" + dialog_id, which);
|
||||
if (which == 2) {
|
||||
/*if (which == 2) {
|
||||
NotificationsController.getInstance().removeNotificationsForDialog(dialog_id);
|
||||
}
|
||||
}*/
|
||||
//MessagesStorage.getInstance().setDialogFlags(dialog_id, which == 2 ? 1 : 0);
|
||||
editor.commit();
|
||||
TLRPC.TL_dialog dialog = MessagesController.getInstance().dialogs_dict.get(dialog_id);
|
||||
|
||||
Reference in New Issue
Block a user