mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-13 19:51:10 +01:00
Fix crash on printing strings
This commit is contained in:
parent
0a96b0c061
commit
9f9bb21d62
@ -5854,7 +5854,9 @@ public class MessagesController extends BaseController implements NotificationCe
|
||||
arr = arr.stream().filter(it -> getMessagesController().blockePeers.indexOfKey(it.userId) == -1).collect(Collectors.toCollection(ArrayList::new));
|
||||
}
|
||||
|
||||
if (lower_id > 0 || lower_id == 0 || arr.size() == 1) {
|
||||
if (arr.isEmpty()) continue;
|
||||
|
||||
if (arr.size() == 1) {
|
||||
PrintingUser pu = arr.get(0);
|
||||
TLRPC.User user = getUser(pu.userId);
|
||||
if (user == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user