mirror of
https://github.com/status-im/status-go.git
synced 2025-01-22 04:31:30 +00:00
Fix sync_device_test
This commit is contained in:
parent
83a6dbfa3e
commit
2f41034b47
@ -1927,7 +1927,7 @@ func (m *Messenger) handleSyncSetting(messageState *ReceivedMessageState, messag
|
||||
return err
|
||||
}
|
||||
if message.GetType() == protobuf.SyncSetting_DISPLAY_NAME && settingField != nil {
|
||||
if m.account.Name != message.GetValueString() {
|
||||
if message.GetValueString() != "" && m.account.Name != message.GetValueString() {
|
||||
m.account.Name = message.GetValueString()
|
||||
err = m.multiAccounts.SaveAccount(*m.account)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user