aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/entities
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-11-19 17:40:42 +0100
committeriNPUTmice <daniel@gultsch.de>2014-11-19 17:40:42 +0100
commite9948f6b8417803e2856f53482d5a158eb9ffa2e (patch)
tree1d77f062f752a272ec5251104dd08a06f7d5d7a4 /src/main/java/eu/siacs/conversations/entities
parentcbf42ee12cb214e801a0e8473bae93935f70e394 (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.java4
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);
}
}
}