From 71df3a792be074a95343b6565fb65b24c6157b8a Mon Sep 17 00:00:00 2001 From: ycc Date: Thu, 27 Jul 2023 15:48:06 +0200 Subject: [PATCH] add my name and myavatar to my identity for a peer --- client/peer.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/peer.go b/client/peer.go index cd19eed..7ec33bd 100644 --- a/client/peer.go +++ b/client/peer.go @@ -12,7 +12,9 @@ import ( ) type Peer struct { - Name string `json:"name,omitempty"` + Name string `json:"name,omitempty"` + MyName string `json:"my_name,omitempty"` + MyAvatar string `json:"my_avatar,omitempty"` // Conversation []InternalMessage `json:"conversation,omitempty"` // My own keys for that peer MyIdentity meowlib.KeyPair `json:"my_identity,omitempty"`