mirror of https://github.com/NekoX-Dev/NekoX.git
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));
|
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);
|
PrintingUser pu = arr.get(0);
|
||||||
TLRPC.User user = getUser(pu.userId);
|
TLRPC.User user = getUser(pu.userId);
|
||||||
if (user == null) {
|
if (user == null) {
|
||||||
|
|
Loading…
Reference in New Issue