diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-05-07 12:59:15 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-05-07 12:59:15 +0200 |
commit | 247f45f46bf2f02d182e09528b3f0a44960e3a7d (patch) | |
tree | 9d1a2b5038ad3255a6e0ee20ba1141a7c39d6958 /src/eu/siacs/conversations/entities | |
parent | 12a3865c4723ed98987fe159fd43d90db264b791 (diff) |
remembering text. awesome
Diffstat (limited to 'src/eu/siacs/conversations/entities')
-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; + } } |