diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-09 16:21:13 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-09 16:21:13 +0100 |
commit | 377bd49ee807b9a06089ad5612ca15b9b00f2e36 (patch) | |
tree | 225e53c77c11377b4e64d65b5f33cf9c0c0858e6 /src/main/java/eu/siacs/conversations/entities/Conversation.java | |
parent | 2b99b694eb25ed6ea82563d8a352be774ecc88d2 (diff) |
refactored code to always contain full jid for counterpart
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/Conversation.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Conversation.java b/src/main/java/eu/siacs/conversations/entities/Conversation.java index fdffeccba..c8dedd7b3 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -55,7 +55,7 @@ public class Conversation extends AbstractEntity { private JSONObject attributes = new JSONObject(); - private String nextPresence; + private Jid nextCounterpart; protected ArrayList<Message> messages = new ArrayList<>(); protected Account account = null; @@ -345,12 +345,12 @@ public class Conversation extends AbstractEntity { this.contactJid = jid; } - public void setNextPresence(String presence) { - this.nextPresence = presence; + public void setNextCounterpart(Jid jid) { + this.nextCounterpart = jid; } - public String getNextPresence() { - return this.nextPresence; + public Jid getNextCounterpart() { + return this.nextCounterpart; } public int getLatestEncryption() { |