add my name and myavatar to my identity for a peer

This commit is contained in:
ycc 2023-07-27 15:48:06 +02:00
parent d748735ded
commit 71df3a792b

View File

@ -12,7 +12,9 @@ import (
) )
type Peer struct { 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"` // Conversation []InternalMessage `json:"conversation,omitempty"`
// My own keys for that peer // My own keys for that peer
MyIdentity meowlib.KeyPair `json:"my_identity,omitempty"` MyIdentity meowlib.KeyPair `json:"my_identity,omitempty"`