Commit ec5d5d08 authored by Simon Morlat's avatar Simon Morlat

Fix bad json produced in apple push notification in the pusher case (because not a silent push)

parent 05e8dd5c
Pipeline #771 passed with stage
in 27 minutes and 21 seconds
......@@ -39,7 +39,7 @@ ApplePushNotificationRequest::ApplePushNotificationRequest(const PushInfo &info)
we always put the badge value to 1 because we want to notify the user that
he/she has unread messages even if we do not know the exact count */
payload << ",\"badge\":" << (info.mNoBadge ? 0 : 1);
payload << "},\"call-id\":\"" << callid << "\",\"pn_ttl\":" << info.mTtl << "\",\"uuid\":" << info.mUid
payload << "},\"call-id\":\"" << callid << "\",\"pn_ttl\":" << info.mTtl << ",\"uuid\":" << quoteStringIfNeeded(info.mUid)
<< ",\"send-time\":\"" << date << "\"}";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment