Skip to content

Commit 8bded15

Browse files
jstarplnytamin
andauthored
chore: make the query match getUnsentExternalMessageCount
Co-authored-by: Johan Nyman <[email protected]>
1 parent 017e3a9 commit 8bded15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meteor/client/ui/Status/ExternalMessages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function ExternalMessagesQueuedMessages({ studioId }: Readonly<ExternalMessagesQ
9696
ExternalMessageQueue.find(
9797
{
9898
studioId: studioId,
99-
$or: [{ sent: { $lte: 0 } }, { sent: { $exists: false } }],
99+
sent: { $not: { $gt: 0 } },
100100
},
101101
{
102102
sort: {

0 commit comments

Comments
 (0)