diff options
Diffstat (limited to 'src/eu/siacs/conversations/entities/Conversation.java')
-rw-r--r-- | src/eu/siacs/conversations/entities/Conversation.java | 10 |
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 c02ae9e74..add51d522 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; + } } |