diff options
author | Vitaly Takmazov | 2016-09-21 22:19:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-09-21 22:19:59 +0300 |
commit | 30ed6cdb7a2fb562eeda33e85b1388369d42ebab (patch) | |
tree | a731ab8533b1018f3ca0612894f27ab66596e379 /juick-www/src/main/java/com/juick/www/UserThread.java | |
parent | 03b9bb980287d8f5578d1caec7a19e56f448e40f (diff) |
fix code formatting also in user thread
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/UserThread.java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/UserThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/UserThread.java b/juick-www/src/main/java/com/juick/www/UserThread.java index beb08726..5f9f7e9a 100644 --- a/juick-www/src/main/java/com/juick/www/UserThread.java +++ b/juick-www/src/main/java/com/juick/www/UserThread.java @@ -105,7 +105,7 @@ public class UserThread { } String txt; - if (!msg.Tags.isEmpty() && msg.Tags.contains("code")) { + if (msg.Tags.stream().anyMatch(t -> t.getName().equals("code"))) { txt = Utils.formatMessageCode(msg.getText()); } else { txt = Utils.formatMessage(msg.getText()); |