From 2506ef82df6369fef71e00e891b2a2c69330ff94 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 3 Apr 2014 17:39:57 +0200 Subject: be compatible with openkeychain api v3 --- src/eu/siacs/conversations/entities/Message.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/eu/siacs/conversations/entities') diff --git a/src/eu/siacs/conversations/entities/Message.java b/src/eu/siacs/conversations/entities/Message.java index 0fce2a5b..b91d822d 100644 --- a/src/eu/siacs/conversations/entities/Message.java +++ b/src/eu/siacs/conversations/entities/Message.java @@ -29,6 +29,7 @@ public class Message extends AbstractEntity { protected String conversationUuid; protected String counterpart; protected String body; + protected String encryptedBody; protected long timeSent; protected int encryption; protected int status; @@ -141,4 +142,12 @@ public class Message extends AbstractEntity { public void setBody(String body) { this.body = body; } + + public String getEncryptedBody() { + return this.encryptedBody; + } + + public void setEncryptedBody(String body) { + this.encryptedBody = body; + } } -- cgit v1.2.3