hide delete as read button in channels

This commit is contained in:
vivabelarus 2022-05-28 14:23:11 +03:00
parent 5141fc54b4
commit c0c35b4f7a
No known key found for this signature in database
GPG key ID: 8E6E199A21D37F2B
2 changed files with 7 additions and 1 deletions

View file

@ -5097,7 +5097,7 @@ public class PhotoViewer implements NotificationCenter.NotificationCenterDelegat
final int a = order[i];
if (a == 5 && (SharedConfig.fakePasscodeActivatedIndex != -1 || UserObject.isUserSelf(user)
|| !SharedConfig.showDeleteAfterRead)) {
|| !SharedConfig.showDeleteAfterRead || (ChatObject.isChannel(chat) && !chat.megagroup))) {
continue;
}