Skip to content

Commit

Permalink
properly pass sequences for repo account events
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Nov 22, 2024
1 parent b6f34c7 commit 07de0a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ func (evt *XRPCStreamEvent) Sequence() int64 {
return evt.RepoTombstone.Seq
case evt.RepoIdentity != nil:
return evt.RepoIdentity.Seq
case evt.RepoAccount != nil:
return evt.RepoAccount.Seq
case evt.RepoInfo != nil:
return -1
case evt.Error != nil:
Expand Down

0 comments on commit 07de0a0

Please sign in to comment.