@@ -12,9 +12,9 @@ import (
1212 messagingtypes "github.com/status-im/status-go/messaging/types"
1313 "github.com/status-im/status-go/multiaccounts/errors"
1414 "github.com/status-im/status-go/multiaccounts/settings"
15+ "github.com/status-im/status-go/protocol/backupsync"
1516 "github.com/status-im/status-go/protocol/communities"
1617 "github.com/status-im/status-go/protocol/protobuf"
17- "github.com/status-im/status-go/protocol/wakusync"
1818 ensservice "github.com/status-im/status-go/services/ens"
1919 "github.com/status-im/status-go/signal"
2020)
@@ -70,8 +70,8 @@ func (m *Messenger) handleBackedUpProfile(message *protobuf.BackedUpProfile, bac
7070 return nil
7171 }
7272
73- response := wakusync. WakuBackedUpDataResponse {
74- Profile : & wakusync .BackedUpProfile {},
73+ response := backupsync. BackedUpDataResponse {
74+ Profile : & backupsync .BackedUpProfile {},
7575 }
7676
7777 err := utils .ValidateDisplayName (& message .DisplayName )
@@ -168,7 +168,7 @@ func (m *Messenger) handleBackedUpProfile(message *protobuf.BackedUpProfile, bac
168168 response .SetEnsUsernameDetails (ensUsernameDetails )
169169
170170 if m .config .messengerSignalsHandler != nil {
171- m .config .messengerSignalsHandler .SendWakuBackedUpProfile (& response )
171+ m .config .messengerSignalsHandler .SendBackedUpProfile (& response )
172172 }
173173
174174 return err
@@ -205,10 +205,10 @@ func (m *Messenger) handleLocalBackupCommunities(state *ReceivedMessageState, co
205205
206206func (m * Messenger ) PublishSettingEvent (settingField * settings.SyncSettingField ) {
207207 if m .config .messengerSignalsHandler != nil {
208- response := wakusync. WakuBackedUpDataResponse {
208+ response := backupsync. BackedUpDataResponse {
209209 Setting : settingField ,
210210 }
211- m .config .messengerSignalsHandler .SendWakuBackedUpSettings (& response )
211+ m .config .messengerSignalsHandler .SendBackedUpSettings (& response )
212212 }
213213}
214214
0 commit comments