mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2025-01-26 06:59:54 +01:00
Fix NPE for 793fd0d5
This commit is contained in:
parent
74fe32e2f8
commit
b47d649861
@ -789,7 +789,7 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
|
||||
private boolean needHideMessage() {
|
||||
return currentMessageObject.messageOwner.hide ||
|
||||
MessagesController.getInstance(currentAccount).blockePeers.indexOfKey(currentMessageObject.getFromChatId()) >= 0 &&
|
||||
NekoConfig.ignoreBlocked && !(getParent().getClass().getName().contains("ChannelAdminLogActivity"));
|
||||
NekoConfig.ignoreBlocked && !(getParent() != null && getParent().getClass().getName().contains("ChannelAdminLogActivity"));
|
||||
}
|
||||
|
||||
public ChatMessageCell(Context context) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user