mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
parent
c90d5db608
commit
6d5cfa32e2
1 changed files with 4 additions and 0 deletions
|
@ -1149,6 +1149,10 @@ public class Manager implements Signal {
|
|||
}
|
||||
if (c.getExpirationTimer().isPresent()) {
|
||||
ThreadInfo thread = account.getThreadStore().getThread(c.getNumber());
|
||||
if (thread == null) {
|
||||
thread = new ThreadInfo();
|
||||
thread.id = c.getNumber();
|
||||
}
|
||||
thread.messageExpirationTime = c.getExpirationTimer().get();
|
||||
account.getThreadStore().updateThread(thread);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue