Ensure group message is being sent to a group.
parent
6cd5100530
commit
274af2f010
|
@ -145,6 +145,10 @@ public class PushGroupSendJob extends PushSendJob {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!message.getRecipient().isPushGroup()) {
|
||||
throw new MmsException("Message recipient isn't a group!");
|
||||
}
|
||||
|
||||
try {
|
||||
log(TAG, "Sending message: " + messageId);
|
||||
|
||||
|
|
Loading…
Reference in New Issue