commit
96760f48c1
@ -192,7 +192,9 @@ public class Message implements BotApiObject {
|
||||
}
|
||||
|
||||
public List<MessageEntity> getEntities() {
|
||||
entities.forEach(x -> x.computeText(text));
|
||||
if (entities != null) {
|
||||
entities.forEach(x -> x.computeText(text));
|
||||
}
|
||||
return entities;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user