mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Remove some classes which are never instanced by only used for instanceof checks.
This commit is contained in:
@@ -852,7 +852,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
if (info != null) {
|
||||
count = info.participants.participants.size();
|
||||
}
|
||||
if (count == 0 || currentChat.deactivated || currentChat.left || currentChat instanceof TLRPC.TL_chatForbidden || info != null && info.participants instanceof TLRPC.TL_chatParticipantsForbidden) {
|
||||
if ((count == 0) || currentChat.deactivated || currentChat.left || ((info != null) && (info.participants instanceof TLRPC.TL_chatParticipantsForbidden))) {
|
||||
avatarContainer.setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user