Skip to content

Commit

Permalink
Show /me command result in the users irc view as well (#1731)
Browse files Browse the repository at this point in the history
fixes #1730
  • Loading branch information
Brutus5000 authored May 27, 2020
1 parent e382145 commit e549651
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
import java.io.Reader;
import java.lang.invoke.MethodHandles;
import java.net.URL;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
Expand Down Expand Up @@ -441,6 +442,7 @@ private void sendAction(final TextInputControl messageTextField, final String te
messageTextField.clear();
messageTextField.setDisable(false);
messageTextField.requestFocus();
onChatMessage(new ChatMessage(userService.getUsername(), Instant.now(), userService.getUsername(), message, true));
})
.exceptionally(throwable -> {
throwable = ConcurrentUtil.unwrapIfCompletionException(throwable);
Expand Down

0 comments on commit e549651

Please sign in to comment.