Launch Peers on NewPeer + Set Name #16

Merged
dan merged 3 commits from peersettings into trunk 2021-03-19 21:52:37 +00:00
Owner

Also upgrade to 0.6.0

Also upgrade to 0.6.0
dan was assigned by sarah 2021-03-19 19:43:04 +00:00
dan requested changes 2021-03-19 20:01:16 +00:00
@ -107,3 +109,3 @@
cpicPath := GetPicturePath(cpic)
contactInfo := profile.GetContact(contact)
name, _ := contactInfo.GetAttribute(attr.GetLocalScope(constants.Name))
name, hasName := contactInfo.GetAttribute(attr.GetLocalScope(constants.Name))
Owner

outside the loop
ph := NewPeerHelper(profile)

then here replace all this with
ph.GetNick(contact)

and actually above should use
ph.GetProfilePic(contact)

you might actaully want to look at if it's possible to adapt EnrichNewPeer() which does this to a PeerCreated event for new contacts of the profile

outside the loop ph := NewPeerHelper(profile) then here replace all this with ph.GetNick(contact) and actually above should use ph.GetProfilePic(contact) you might actaully want to look at if it's possible to adapt EnrichNewPeer() which does this to a PeerCreated event for new contacts of the profile
dan merged commit a741aea975 into trunk 2021-03-19 21:52:36 +00:00
Sign in to join this conversation.
No reviewers
dan
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: flutter/libcwtch-go#16
No description provided.