Additions for client side dev

This commit is contained in:
ycc
2022-10-29 20:07:35 +02:00
parent 279d5d2257
commit 7fe7892764
5 changed files with 61 additions and 6 deletions

View File

@ -5,6 +5,7 @@ import (
"time"
"forge.redroom.link/yves/meowlib"
"github.com/google/uuid"
"google.golang.org/protobuf/proto"
)
@ -59,6 +60,7 @@ func (p *Peer) BuildSimpleUserUMessage(message []byte) (*meowlib.UserMessage, er
msg.From = p.Me.Public
msg.Data = message
msg.Type = "1"
msg.Status.LocalUuid = uuid.New().String()
return &msg, nil
}