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 authored and bnewbold committed Nov 22, 2024
1 parent 93497b7 commit 848d9bd
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 848d9bd

Please sign in to comment.