stale process detection on android #63

Merged
sarah merged 4 commits from rrgtj into trunk 2021-06-22 00:51:49 +00:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit e09e9c09a7 - Show all commits

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