aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu/siacs/conversations/entities')
-rw-r--r--src/eu/siacs/conversations/entities/Conversation.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/entities/Conversation.java b/src/eu/siacs/conversations/entities/Conversation.java
index c02ae9e7..add51d52 100644
--- a/src/eu/siacs/conversations/entities/Conversation.java
+++ b/src/eu/siacs/conversations/entities/Conversation.java
@@ -57,6 +57,7 @@ public class Conversation extends AbstractEntity {
private transient String otrFingerprint = null;
private int nextMessageEncryption = Message.ENCRYPTION_NONE;
+ private String nextMessage;
private transient MucOptions mucOptions = null;
@@ -337,4 +338,13 @@ public class Conversation extends AbstractEntity {
public void setNextEncryption(int encryption) {
this.nextMessageEncryption = encryption;
}
+
+ public String getNextMessage() {
+ return this.nextMessage;
+ }
+
+ public void setNextMessage(String message) {
+ Log.d("xmppService","saving text: "+message);
+ this.nextMessage = message;
+ }
}