peer relate alice and bob
This commit is contained in:
parent
36d0e3786c
commit
ec8417b8ec
|
@ -66,6 +66,10 @@ func TestCwtchPeerIntegration(t *testing.T) {
|
|||
fmt.Println("Bob joining group...")
|
||||
bob.JoinServer(server_addr)
|
||||
|
||||
// Associate and peer alice & bob
|
||||
alice.Profile.AddContact(bob.Profile.Onion, bob.Profile.PublicProfile)
|
||||
bob.Profile.AddContact(alice.Profile.Onion, alice.Profile.PublicProfile)
|
||||
|
||||
fmt.Println("Alice> ", aliceLines[0])
|
||||
alice.SendMessageToGroup(groupId, aliceLines[0])
|
||||
time.Sleep(time.Second * 2)
|
||||
|
|
Loading…
Reference in New Issue