Fix self-sync timestamp inconsistency
This commit is contained in:
parent
9c098d8fe5
commit
1aebce8d6e
@ -296,7 +296,10 @@ public class SignalServiceMessageSender {
|
||||
throw new IOException("Unsupported sync message!");
|
||||
}
|
||||
|
||||
sendMessage(localAddress, Optional.<UnidentifiedAccess>absent(), System.currentTimeMillis(), content, false);
|
||||
long timestamp = message.getSent().isPresent() ? message.getSent().get().getTimestamp()
|
||||
: System.currentTimeMillis();
|
||||
|
||||
sendMessage(localAddress, Optional.<UnidentifiedAccess>absent(), timestamp, content, false);
|
||||
}
|
||||
|
||||
public void setSoTimeoutMillis(long soTimeoutMillis) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user