Commit 01633422 authored by Finn Herzfeld's avatar Finn Herzfeld 🌵 Committed by GitHub

Merge pull request #11 from nickcatal/nickcat/threadstore-expiration

Push to the thread store when message expiration is set
parents 8f8089d3 9bf44ae1
Pipeline #3078 passed with stages
in 53 minutes and 1 second
......@@ -818,6 +818,10 @@ class Manager {
SignalServiceDataMessage.Builder messageBuilder = SignalServiceDataMessage.newBuilder();
ThreadInfo thread = threadStore.getThread(recipient);
if (thread == null) {
thread = new ThreadInfo();
thread.id = recipient;
}
thread.messageExpirationTime = expiresInSeconds;
threadStore.updateThread(thread);
......
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