Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
d2c9e802
Commit
d2c9e802
authored
2 years ago
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Fix inconsistency in event model interface
parent
930e66a0
No related branches found
No related tags found
3 merge requests
!510
Release
,
!419
rewrote the health tracker to both consider if there are waiting rounds and...
,
!340
Project/channels
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/channels.go
+2
-2
2 additions, 2 deletions
bindings/channels.go
with
2 additions
and
2 deletions
bindings/channels.go
+
2
−
2
View file @
d2c9e802
...
@@ -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
)
round
Id
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
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment