mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-17 13:24:48 -07:00
fix disabling of autoreplay-missed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user