if no remote name, reask #61
|
@ -87,6 +87,8 @@ func (p *PeerHelper) GetNick(id string) string {
|
||||||
nick, exists = p.peer.GetContactAttribute(id, attr.GetPeerScope(constants.Name))
|
nick, exists = p.peer.GetContactAttribute(id, attr.GetPeerScope(constants.Name))
|
||||||
if !exists {
|
if !exists {
|
||||||
nick = "[" + id + "]"
|
nick = "[" + id + "]"
|
||||||
|
// re-request
|
||||||
|
p.peer.SendGetValToPeer(id, attr.PublicScope, constants.Name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nick
|
return nick
|
||||||
|
|
Loading…
Reference in New Issue