mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-08 21:08:33 +00:00
Ensure group message is being sent to a group.
This commit is contained in:
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…
x
Reference in New Issue
Block a user