MT#15819 mod_sipwise_pushd: set apns_alert message on muc

Change-Id: I76f9fb1766509d5fc7b47ad9cb4bf986fc7f2b41
(cherry picked from commit bbb6f0fe4c)
mr3.8.4
Victor Seva 11 years ago
parent fbf51418ad
commit be0c64a97d

@ -160,6 +160,8 @@ local function handle_offline(event)
if not muc then
msg.apns_alert = string.format("message received from %s\n",
caller_info.display_name) .. msg.data_message;
else
msg.apns_alert = muc['invite'];
end
msg.apns_sound = pushd_config.msg_sound or '';
msg.apns_badge = tostring(get_callee_badge(to));

Loading…
Cancel
Save