mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 19:57:33 +00:00
fix: add timestamp to incoming call
This commit is contained in:
@@ -96,6 +96,7 @@ class WebRtcCallService: Service(), PeerConnection.Observer {
|
|||||||
.putExtra(EXTRA_RECIPIENT_ADDRESS, address)
|
.putExtra(EXTRA_RECIPIENT_ADDRESS, address)
|
||||||
.putExtra(EXTRA_CALL_ID, callId)
|
.putExtra(EXTRA_CALL_ID, callId)
|
||||||
.putExtra(EXTRA_REMOTE_DESCRIPTION, sdp)
|
.putExtra(EXTRA_REMOTE_DESCRIPTION, sdp)
|
||||||
|
.putExtra(EXTRA_TIMESTAMP, System.currentTimeMillis())
|
||||||
|
|
||||||
fun denyCallIntent(context: Context) = Intent(context, WebRtcCallService::class.java).setAction(ACTION_DENY_CALL)
|
fun denyCallIntent(context: Context) = Intent(context, WebRtcCallService::class.java).setAction(ACTION_DENY_CALL)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user