The whereClause is not working correctly and all users are getting any messages published.
here is the message object:
{
“messageId”: “message:93B9BE35-7356-4921-A662-CA880D7FF6FA”,
“timestamp”: 1616866600020,
“message”: “يكتب”,
“publisherId”: null,
“subtopic”: null,
“pushSinglecast”: null,
“pushBroadcast”: null,
“publishPolicy”: null,
“query”: null,
“publishAt”: 0,
“repeatEvery”: 0,
“repeatExpiresAt”: 0,
“headers”: {
“Request_id”: “313AF850-B7BE-4F33-9FC0-D9DD1AE83602”,
“Typing”: “true”,
“ToUser”: “AAFCD463-3BF0-B20C-FF3B-C47584300000”
},
“templateValues”: null
}
and this is the event listener
ServiceRequestsChannel.addMessageListener(“ToUser = '” + user.id + “'”, RT_Typing);
and this is the user.id
“E597C1CD-123D-8DD6-FF2E-E77404312B00”
yet the user get the message. this code is not changed in the client for months