contacts rewire #9

Merged
dan merged 7 commits from contacts into trunk 2021-03-16 20:49:12 +00:00
Owner
  • attach contact list to NewPeer events for initial state
  • expose EventProfileEnvelope vars for serialization
* attach contact list to NewPeer events for initial state * expose EventProfileEnvelope vars for serialization
dan requested changes 2021-03-15 23:39:01 +00:00
@ -0,0 +3,4 @@
type Contact struct {
Name string `json:"name"`
Onion string `json:"onion"`
Status string `json:"status"`
Owner

might want to squeeze "Sate" in for use with "unknown, approved and blocked"

might want to squeeze "Sate" in for use with "unknown, approved and blocked"
Author
Owner

gonna leave this until we're ready to wire it in

gonna leave this until we're ready to wire it in
erinn marked this conversation as resolved
@ -106,3 +130,2 @@
online, _ := peer.GetAttribute(attr.GetLocalScope(constants.PeerOnline))
if e.Data[event.Status] == plugins.NetworkCheckSuccess && online == event.False {
peer.SetAttribute(attr.GetLocalScope(constants.PeerOnline), event.True)
if e.Data[Event.Status] == plugins.NetworkCheckSuccess && online == Event.False {
Owner

I think your search and replace for EventProfileEnvelope's event to Event has also caught all reference's to cwtch.event and this won't compile or work right? there seems to be a bunch of these?

I think your search and replace for EventProfileEnvelope's event to Event has also caught all reference's to cwtch.event and this won't compile or work right? there seems to be a bunch of these?
utils/manager.go Outdated
@ -238,2 +237,2 @@
func NewManager(profile string, gcd *GrandCentralDispatcher) Manager {
return &manager{gcd: gcd, profile: profile}
// NewManager returns a new Manager interface for a Profile to the gcd
func NewManager(Profile string, gcd *GrandCentralDispatcher) Manager {
Owner

and profile -> Profile has mis caught some too I think

and profile -> Profile has mis caught some too I think
dan merged commit 2359d8a2e4 into trunk 2021-03-16 20:49:11 +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#9
No description provided.