Skip to content

Commit

Permalink
fix: cannot send command message when open pangu
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Oct 8, 2024
1 parent d98f7ce commit 6b28fd0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4267,7 +4267,9 @@ public void sendMessage(SendMessageParams sendMessageParams) {
entities = pair.getSecond();

newMsg.message = pair.getFirst();
newMsg.entities = pair.getSecond();
if (entities != null && !entities.isEmpty()) {
newMsg.entities = entities;
}
}

if (stars > 0) {
Expand Down

0 comments on commit 6b28fd0

Please sign in to comment.