reject message sends that have the same device more than once

This commit is contained in:
Jonathan Klabunde Tomer
2023-06-13 09:49:50 -07:00
committed by GitHub
parent 128d709c99
commit 861dc0d021
4 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
"messages" : [{
"type" : 1,
"destinationDeviceId" : 1,
"destinationRegistrationId" : 222,
"content" : "Zm9vYmFyego",
"timestamp" : 1234
},
{
"type" : 1,
"destinationDeviceId" : 2,
"destinationRegistrationId" : 333,
"content" : "Zm9vYmFyego",
"timestamp" : 1234
},
{
"type" : 1,
"destinationDeviceId" : 1,
"destinationRegistrationId" : 222,
"content" : "Zm9vYmFyego",
"timestamp" : 1234
}]
}