mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 05:48:34 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!message.getRecipient().isPushGroup()) {
|
||||||
|
throw new MmsException("Message recipient isn't a group!");
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
log(TAG, "Sending message: " + messageId);
|
log(TAG, "Sending message: " + messageId);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user