aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/utils/MessageUtil.java
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-03-11 21:31:30 +0100
committersteckbrief <steckbrief@chefmail.de>2016-03-11 21:31:30 +0100
commitbfc5000b6aa3d401ad80e04c43a6671aa9c2c619 (patch)
treea662cf642e413d8dd7cc40ee1d647406bfe7e5c3 /src/main/java/de/thedevstack/conversationsplus/utils/MessageUtil.java
parent27c9c0aa21e3ec1a5801f6c3279caf0cd4fe9248 (diff)
Fixes FS#139: Do not merge messages at all
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/utils/MessageUtil.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/utils/MessageUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/utils/MessageUtil.java b/src/main/java/de/thedevstack/conversationsplus/utils/MessageUtil.java
index 7afc3fa4..6a668938 100644
--- a/src/main/java/de/thedevstack/conversationsplus/utils/MessageUtil.java
+++ b/src/main/java/de/thedevstack/conversationsplus/utils/MessageUtil.java
@@ -11,9 +11,10 @@ import de.thedevstack.conversationsplus.entities.Message;
import de.thedevstack.conversationsplus.persistance.FileBackend;
/**
- * Created by tzur on 15.12.2015.
+ * Utility class to work with messages.
*/
public final class MessageUtil {
+
public static boolean wasHighlightedOrPrivate(final Message message) {
final String nick = message.getConversation().getMucOptions().getActualNick();
final Pattern highlight = generateNickHighlightPattern(nick);