Commit 9394a4c5 authored by Nick Catalano's avatar Nick Catalano

Push to the thread store when message expiration is set

parent d5209ac4
......@@ -821,6 +821,14 @@ class Manager {
recipients.add(recipient);
sendMessage(messageBuilder, recipients, false);
ThreadInfo thread = threadStore.getThread(recipient);
if (thread == null) {
thread = new ThreadInfo();
thread.id = recipient;
}
thread.messageExpirationTime = expiresInSeconds;
threadStore.updateThread(thread);
}
private void sendGroupInfoRequest(byte[] groupId, String recipient) throws IOException, EncapsulatedExceptions, UntrustedIdentityException {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment