Search in sources :

Example 1 with PushGroupSendJob

use of org.thoughtcrime.securesms.jobs.PushGroupSendJob in project Signal-Android by WhisperSystems.

the class MessageSender method sendGroupPush.

private static void sendGroupPush(Context context, Recipients recipients, long messageId, long filterRecipientId) {
    JobManager jobManager = ApplicationContext.getInstance(context).getJobManager();
    jobManager.add(new PushGroupSendJob(context, messageId, recipients.getPrimaryRecipient().getNumber(), filterRecipientId));
}
Also used : PushGroupSendJob(org.thoughtcrime.securesms.jobs.PushGroupSendJob) JobManager(org.whispersystems.jobqueue.JobManager)

Aggregations

PushGroupSendJob (org.thoughtcrime.securesms.jobs.PushGroupSendJob)1 JobManager (org.whispersystems.jobqueue.JobManager)1