This commit is contained in:
azhohov 2017-04-22 00:45:26 +03:00
parent 28197cc7c0
commit 7a35fb0ee8

View File

@ -183,7 +183,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;
}