Merge branch 'trunk' of git.openprivacy.ca:flutter/libcwtch-go into rrgtj

This commit is contained in:
erinn 2021-06-17 18:11:35 -07:00
commit e09e9c09a7
2 changed files with 3 additions and 0 deletions

1
lib.go
View File

@ -204,6 +204,7 @@ func ReconnectCwtchForeground() {
application.GetPrimaryBus().Publish(event.NewEvent(utils.CwtchStarted, map[event.Field]string{}))
application.QueryACNStatus()
application.QueryACNVersion()
}

View File

@ -87,6 +87,8 @@ func (p *PeerHelper) GetNick(id string) string {
nick, exists = p.peer.GetContactAttribute(id, attr.GetPeerScope(constants.Name))
if !exists {
nick = "[" + id + "]"
// re-request
p.peer.SendGetValToPeer(id, attr.PublicScope, constants.Name)
}
}
return nick