diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-19 17:40:42 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-19 17:40:42 +0100 |
commit | e9948f6b8417803e2856f53482d5a158eb9ffa2e (patch) | |
tree | 1d77f062f752a272ec5251104dd08a06f7d5d7a4 /src/main/java/eu/siacs/conversations/entities | |
parent | cbf42ee12cb214e801a0e8473bae93935f70e394 (diff) |
sent read marker to full jid
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/Conversation.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Conversation.java b/src/main/java/eu/siacs/conversations/entities/Conversation.java index 4e894b84..8003759d 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -119,7 +119,7 @@ public class Conversation extends AbstractEntity { } } - public String getLatestMarkableMessageId() { + public Message getLatestMarkableMessage() { if (this.messages == null) { return null; } @@ -129,7 +129,7 @@ public class Conversation extends AbstractEntity { if (this.messages.get(i).isRead()) { return null; } else { - return this.messages.get(i).getRemoteMsgId(); + return this.messages.get(i); } } } |