3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-11 06:29:29 +01:00

consolidate auto-away string

This commit is contained in:
Shivaram Lingamneni 2021-03-18 03:04:44 -04:00
parent 70b20750aa
commit 07edf2dc1f

View File

@ -487,7 +487,7 @@ func (server *Server) AddAlwaysOnClient(account ClientAccount, channelToStatus m
} }
if persistenceEnabled(config.Accounts.Multiclient.AutoAway, client.accountSettings.AutoAway) { if persistenceEnabled(config.Accounts.Multiclient.AutoAway, client.accountSettings.AutoAway) {
client.awayMessage = client.t("User is currently disconnected") client.setAutoAwayNoMutex(config)
} }
} }