Search in sources :

Example 1 with BusyMessage

use of org.whispersystems.signalservice.api.messages.calls.BusyMessage in project Signal-Android by WhisperSystems.

the class WebRtcCallService method handleBusyCall.

private void handleBusyCall(Intent intent) {
    Recipient recipient = getRemoteRecipient(intent);
    long callId = getCallId(intent);
    sendMessage(recipient, SignalServiceCallMessage.forBusy(new BusyMessage(callId)));
    insertMissedCall(getRemoteRecipient(intent), false);
}
Also used : BusyMessage(org.whispersystems.signalservice.api.messages.calls.BusyMessage) Recipient(org.thoughtcrime.securesms.recipients.Recipient)

Aggregations

Recipient (org.thoughtcrime.securesms.recipients.Recipient)1 BusyMessage (org.whispersystems.signalservice.api.messages.calls.BusyMessage)1