mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-27 21:22:37 +01:00
Merge pull request #1146 from slingamn/followup
fix disabling of autoreplay-missed
This commit is contained in:
commit
640e7a42b2
@ -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…
Reference in New Issue
Block a user