Remove other nick request
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2023-04-04 14:35:30 -07:00
parent 8fe1e67312
commit a2603f243e
1 changed files with 0 additions and 2 deletions

View File

@ -388,8 +388,6 @@ func (eh *EventHandler) handleProfileEvent(ev *EventProfileEnvelope) string {
ev.Event.Data["Nick"], exists = ci.GetAttribute(attr.PublicScope, attr.ProfileZone, constants.Name)
if !exists {
ev.Event.Data["Nick"] = ev.Event.Data["RemotePeer"]
// If we dont have a name val for a peer, but they have sent us a message, we might be approved now, re-ask
profile.SendScopedZonedGetValToContact(ci.ID, attr.PublicScope, attr.ProfileZone, constants.Name)
}
}