From d2c9e802177e3aff80749cd9c5ef9ede1ccefa2c Mon Sep 17 00:00:00 2001 From: joshemb <josh@elixxir.io> Date: Mon, 19 Sep 2022 15:52:17 -0700 Subject: [PATCH] Fix inconsistency in event model interface --- bindings/channels.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/channels.go b/bindings/channels.go index 49a68d975..c7a64f50c 100644 --- a/bindings/channels.go +++ b/bindings/channels.go @@ -829,7 +829,7 @@ type EventModel interface { ReceiveReaction(channelID []byte, messageID []byte, reactionTo []byte, senderUsername string, reaction string, timestamp int64, lease int64, - round int64, status int64) + roundId int64, status int64) // UpdateSentStatus is called whenever the sent status of a message // has changed. @@ -855,7 +855,7 @@ type toEventModel struct { // NewEventModel is a constructor for a toEventModel. This will take in an // EventModel and wraps it around the toEventModel. -func NewEventModel(em EventModel) *toEventModel { +func NewEventModel(em channels.EventModel) *toEventModel { return &toEventModel{em: em} } -- GitLab