Skip to content
Snippets Groups Projects
Commit d2c9e802 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix inconsistency in event model interface

parent 930e66a0
No related branches found
No related tags found
3 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!340Project/channels
...@@ -829,7 +829,7 @@ type EventModel interface { ...@@ -829,7 +829,7 @@ type EventModel interface {
ReceiveReaction(channelID []byte, messageID []byte, ReceiveReaction(channelID []byte, messageID []byte,
reactionTo []byte, senderUsername string, reactionTo []byte, senderUsername string,
reaction string, timestamp int64, lease int64, reaction string, timestamp int64, lease int64,
round int64, status int64) roundId int64, status int64)
// UpdateSentStatus is called whenever the sent status of a message // UpdateSentStatus is called whenever the sent status of a message
// has changed. // has changed.
...@@ -855,7 +855,7 @@ type toEventModel struct { ...@@ -855,7 +855,7 @@ type toEventModel struct {
// NewEventModel is a constructor for a toEventModel. This will take in an // NewEventModel is a constructor for a toEventModel. This will take in an
// EventModel and wraps it around the toEventModel. // EventModel and wraps it around the toEventModel.
func NewEventModel(em EventModel) *toEventModel { func NewEventModel(em channels.EventModel) *toEventModel {
return &toEventModel{em: em} return &toEventModel{em: em}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment