Skip to content

Commit

Permalink
properly pass sequences for repo account events (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvolp12 authored Nov 22, 2024
2 parents b6f34c7 + 07de0a0 commit 8a5b99c
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 8a5b99c

Please sign in to comment.