Additions for client side dev
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user