Commit 0f504339 authored by Simon Morlat's avatar Simon Morlat

Add support for loc-key and loc-args to Firebase, in order to be compatible...

Add support for loc-key and loc-args to Firebase, in order to be compatible with apps implementing the same logic as for iOS when handling push notifications coming from Flexisip.
parent 3d03e46d
Pipeline #6615 passed with stages
in 42 minutes and 56 seconds
......@@ -25,6 +25,8 @@ FirebasePushNotificationRequest::FirebasePushNotificationRequest(const PushInfo
<< "\"uuid\":" << quoteStringIfNeeded(pinfo.mUid)
<< ", \"call-id\":" << quoteStringIfNeeded(pinfo.mCallId)
<< ", \"sip-from\":" << quoteStringIfNeeded(from)
<< ", \"loc-key\":\"" << quoteStringIfNeeded(pinfo.mAlertMsgId)
<< ", \"loc-args\":" << quoteStringIfNeeded(from)
<< ", \"send-time\":" << quoteStringIfNeeded(date) << "}"
<< "}";
mHttpBody = httpBody.str();
......
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