parent
c90d5db608
commit
6d5cfa32e2
@ -1149,6 +1149,10 @@ public class Manager implements Signal {
|
|||||||
}
|
}
|
||||||
if (c.getExpirationTimer().isPresent()) {
|
if (c.getExpirationTimer().isPresent()) {
|
||||||
ThreadInfo thread = account.getThreadStore().getThread(c.getNumber());
|
ThreadInfo thread = account.getThreadStore().getThread(c.getNumber());
|
||||||
|
if (thread == null) {
|
||||||
|
thread = new ThreadInfo();
|
||||||
|
thread.id = c.getNumber();
|
||||||
|
}
|
||||||
thread.messageExpirationTime = c.getExpirationTimer().get();
|
thread.messageExpirationTime = c.getExpirationTimer().get();
|
||||||
account.getThreadStore().updateThread(thread);
|
account.getThreadStore().updateThread(thread);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user