From 97de4cf89d4cb6ddb38ff1c23eb23062fa322871 Mon Sep 17 00:00:00 2001 From: Jake Taylor <jake@elixxir.io> Date: Tue, 13 Sep 2022 13:12:33 -0500 Subject: [PATCH] merge release --- bindings/broadcast.go | 4 ++-- bindings/group.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/broadcast.go b/bindings/broadcast.go index 97def13f6..adcae3315 100644 --- a/bindings/broadcast.go +++ b/bindings/broadcast.go @@ -158,7 +158,7 @@ func (c *Channel) Broadcast(payload []byte) ([]byte, error) { return nil, err } return json.Marshal(BroadcastReport{ - RoundURL: getRoundURL(rid), + RoundURL: getRoundURL(rid.ID), RoundsList: makeRoundsList(rid.ID), EphID: eid, }) @@ -181,7 +181,7 @@ func (c *Channel) BroadcastAsymmetric(payload, pk []byte) ([]byte, error) { } return json.Marshal(BroadcastReport{ RoundsList: makeRoundsList(rid.ID), - RoundURL: getRoundURL(rid), + RoundURL: getRoundURL(rid.ID), EphID: eid, }) } diff --git a/bindings/group.go b/bindings/group.go index 7ecd29558..cd4063642 100644 --- a/bindings/group.go +++ b/bindings/group.go @@ -271,7 +271,7 @@ func (g *GroupChat) Send(groupId, message []byte, tag string) ([]byte, error) { // Construct send report sendReport := &GroupSendReport{ - RoundURL: getRoundURL(round), + RoundURL: getRoundURL(round.ID), RoundsList: makeRoundsList(round.ID), Timestamp: timestamp.UnixNano(), MessageID: msgID.Bytes(), -- GitLab