aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/eu/siacs/conversations/entities/Conversation.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/entities/Conversation.java b/src/eu/siacs/conversations/entities/Conversation.java
index 5674f84a..20c70d29 100644
--- a/src/eu/siacs/conversations/entities/Conversation.java
+++ b/src/eu/siacs/conversations/entities/Conversation.java
@@ -341,7 +341,11 @@ public class Conversation extends AbstractEntity {
}
public String getNextMessage() {
- return this.nextMessage;
+ if (this.nextMessage==null) {
+ return "";
+ } else {
+ return this.nextMessage;
+ }
}
public void setNextMessage(String message) {