Fix for syncing settings (empty field is not getting added) (#3147)

* Fix for syncing settings (empty field is not getting added)

* Version bump
This commit is contained in:
Alexander 2023-01-31 14:37:41 +01:00 committed by GitHub
parent 2c38b9e673
commit a3f59e223c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
0.125.4
0.125.5

View File

@ -1753,7 +1753,9 @@ func (m *Messenger) handleSyncSetting(messageState *ReceivedMessageState, messag
}
}
}
messageState.Response.AddSetting(settingField)
if settingField != nil {
messageState.Response.AddSetting(settingField)
}
return nil
}