mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Remove unused code from notification settings.
This commit is contained in:
@@ -5102,6 +5102,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
if (currentEncryptedChat != null && arr.size() == 1) {
|
||||
MessageObject obj = arr.get(0);
|
||||
|
||||
/* EDIT BY MR
|
||||
if (currentEncryptedChat != null && obj.isOut() && obj.messageOwner.action != null && obj.messageOwner.action instanceof TLRPC.TL_messageEncryptedAction &&
|
||||
obj.messageOwner.action.encryptedAction instanceof TLRPC.TL_decryptedMessageActionSetMessageTTL && getParentActivity() != null) {
|
||||
if (AndroidUtilities.getPeerLayerVersion(currentEncryptedChat.layer) < 17 && currentEncryptedChat.ttl > 0 && currentEncryptedChat.ttl <= 60) {
|
||||
@@ -5112,6 +5113,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
showDialog(builder.create());
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
if (currentChat != null || inlineReturn != 0) {
|
||||
for (int a = 0; a < arr.size(); a++) {
|
||||
|
||||
Reference in New Issue
Block a user