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;
|
||||
}
|
||||
final var text = messageTextArea.getText().strip();
|
||||
final var systemCommandPresent = messageTextAreaCommands.executeIfAnyPresent(text);
|
||||
if (systemCommandPresent) {} else try {
|
||||
if (!messageTextAreaCommands.executeIfAnyPresent(text)) try {
|
||||
// Creating the message and its metadata
|
||||
final var builder = new MessageBuilder(localDB.getUser().getID(), currentChat.getRecipient().getID(), localDB.getIDGenerator())
|
||||
.setText(text);
|
||||
|
Reference in New Issue
Block a user