We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4847c90 commit bac69c4Copy full SHA for bac69c4
backend/matching/src/lib/utils/decode-pool-ticket.ts
@@ -9,7 +9,11 @@ export const decodePoolTicket = (ticket: IStreamMessage) => {
9
userId,
10
socketPort,
11
timestamp,
12
- topic,
+ topic: topic
13
+ ? typeof topic === 'string'
14
+ ? topic.split(',').join('|') // For OR match as opposed to AND in sequence
15
+ : topic.join('|')
16
+ : undefined,
17
difficulty,
18
};
19
0 commit comments