Handle video call push notifications.
GitOrigin-RevId: 680b4961aacd1714b0aa8d3ba60b04d7f5e6fea6
This commit is contained in:
parent
008fc6e101
commit
62c08e7f0a
@ -3180,8 +3180,8 @@ Status NotificationManager::process_push_notification_payload(string payload, bo
|
|||||||
return Status::Error(406, "New secret chat notification is not supported");
|
return Status::Error(406, "New secret chat notification is not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (begins_with(loc_key, "PHONE_CALL_")) {
|
if (begins_with(loc_key, "PHONE_CALL_") || begins_with(loc_key, "VIDEO_CALL_")) {
|
||||||
// TODO PHONE_CALL_REQUEST/PHONE_CALL_DECLINE/PHONE_CALL_MISSED notification
|
// TODO PHONE_CALL_REQUEST/PHONE_CALL_DECLINE/PHONE_CALL_MISSED/VIDEO_CALL_REQUEST/VIDEO_CALL_MISSED notifications
|
||||||
return Status::Error(406, "Phone call notification is not supported");
|
return Status::Error(406, "Phone call notification is not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user