Update client/src/main/java/envoy/client/ui/controller/ChatScene.java
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
This commit is contained in:
parent
8469d526d0
commit
a4dafe9088
@ -516,8 +516,7 @@ public final class ChatScene implements Restorable {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final var text = messageTextArea.getText().strip();
|
final var text = messageTextArea.getText().strip();
|
||||||
final var systemCommandPresent = messageTextAreaCommands.executeIfAnyPresent(text);
|
if (!messageTextAreaCommands.executeIfAnyPresent(text)) try {
|
||||||
if (systemCommandPresent) {} else try {
|
|
||||||
// Creating the message and its metadata
|
// Creating the message and its metadata
|
||||||
final var builder = new MessageBuilder(localDB.getUser().getID(), currentChat.getRecipient().getID(), localDB.getIDGenerator())
|
final var builder = new MessageBuilder(localDB.getUser().getID(), currentChat.getRecipient().getID(), localDB.getIDGenerator())
|
||||||
.setText(text);
|
.setText(text);
|
||||||
|
Reference in New Issue
Block a user