fallback on message uuid to fix missed reply id for single mode conversations
This commit is contained in:
parent
95ee8459b8
commit
c64e0925f4
|
@ -352,7 +352,10 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
|
||||||
}
|
}
|
||||||
|
|
||||||
public String replyId() {
|
public String replyId() {
|
||||||
return conversation.getMode() == Conversation.MODE_MULTI || getRemoteMsgId() == null ? getServerMsgId() : getRemoteMsgId();
|
if (conversation.getMode() == Conversation.MODE_MULTI) return getServerMsgId();
|
||||||
|
final String remote = getRemoteMsgId();
|
||||||
|
if (remote == null && getStatus() > STATUS_RECEIVED) return getUuid();
|
||||||
|
return remote;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Message reply() {
|
public Message reply() {
|
||||||
|
|
Loading…
Reference in a new issue