Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 38824bb

Browse files
authored
Added relay messages to MessageProcessingOrder
This fixes the issue that if messages came from an offline relay out-of-order then they would never end up getting processed.
1 parent e225593 commit 38824bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/retriever/retriever.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ var MessageProcessingOrder = []pb.Message_MessageType{
430430
pb.Message_MODERATOR_ADD,
431431
pb.Message_MODERATOR_REMOVE,
432432
pb.Message_OFFLINE_ACK,
433+
pb.Message_OFFLINE_RELAY,
433434
}
434435

435436
// processQueuedMessages loads all the saved messaged from the database for processing. For each message it sorts them into a

0 commit comments

Comments
 (0)