Skip to content

Commit

Permalink
fix: groupKeys needs to be sent first, so with an negative requestOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Jun 25, 2024
1 parent 102e05d commit d2af48f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ts/session/apis/snode_api/SnodeRequestTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,8 @@ abstract class StoreGroupConfigSubRequest<

public requestOrder(): number {
if (this.namespace === SnodeNamespaces.ClosedGroupKeys) {
return 10;
// -10 means that we need this request to be sent before something with an order of 0 for instance
return -10;
}
return super.requestOrder();
}
Expand Down

0 comments on commit d2af48f

Please sign in to comment.