Send sync sent messages properly in 1-member group
This commit is contained in:
parent
a7d0e6bf88
commit
32fa5cccde
2 changed files with 48 additions and 40 deletions
|
@ -272,9 +272,12 @@
|
|||
this.hasExpired = true;
|
||||
},
|
||||
getPropsForTimerNotification() {
|
||||
const { expireTimer, fromSync, source } = this.get(
|
||||
'expirationTimerUpdate'
|
||||
);
|
||||
const timerUpdate = this.get('expirationTimerUpdate');
|
||||
if (!timerUpdate) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const { expireTimer, fromSync, source } = timerUpdate;
|
||||
const timespan = Whisper.ExpirationTimerOptions.getName(expireTimer || 0);
|
||||
const disabled = !expireTimer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue