mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
fix disabling of autoreplay-missed
This commit is contained in:
parent
3662698f87
commit
ca79da87b1
1 changed files with 2 additions and 1 deletions
|
|
@ -334,7 +334,8 @@ func (client *Client) SetAccountSettings(settings AccountSettings) {
|
|||
becameAlwaysOn = (!client.alwaysOn && alwaysOn)
|
||||
client.alwaysOn = alwaysOn
|
||||
if autoreplayMissedDisabled {
|
||||
client.lastSeen = nil
|
||||
// clear the lastSeen entry for the default session, but not for device IDs
|
||||
delete(client.lastSeen, "")
|
||||
}
|
||||
}
|
||||
client.accountSettings = settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue