Revert "Bump Go version to 1.23.6 (#30242)" (#30359)

This reverts commit acbbd4c58d.
Этот коммит содержится в:
Agniva De Sarker
2025-02-27 14:58:51 +05:30
коммит произвёл GitHub
родитель 690cbc9fa3
Коммит ac10bb12a5
23 изменённых файлов: 49 добавлений и 45 удалений

Просмотреть файл

@@ -463,9 +463,9 @@ func NewServer(options ...Option) (*Server, error) {
return s, nil
}
s.platform.AddConfigListener(func(oldCfg, newCfg *model.Config) {
s.platform.AddConfigListener(func(old, new *model.Config) {
appInstance := New(ServerConnector(s.Channels()))
if *oldCfg.GuestAccountsSettings.Enable && !*newCfg.GuestAccountsSettings.Enable {
if *old.GuestAccountsSettings.Enable && !*new.GuestAccountsSettings.Enable {
c := request.EmptyContext(s.Log())
if appErr := appInstance.DeactivateGuests(c); appErr != nil {
mlog.Error("Unable to deactivate guest accounts", mlog.Err(appErr))