mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-25 14:27:21 +00:00
Remove unneeded code
This commit is contained in:
parent
4dd882ea52
commit
eb77b7d56b
@ -284,10 +284,8 @@ public class MessageSender {
|
|||||||
sendLocalMediaSelf(context, messageId);
|
sendLocalMediaSelf(context, messageId);
|
||||||
} else if (isGroupPushSend(recipient)) {
|
} else if (isGroupPushSend(recipient)) {
|
||||||
sendGroupPush(context, recipient, messageId, null);
|
sendGroupPush(context, recipient, messageId, null);
|
||||||
} else if (!forceSms && isPushMediaSend(context, recipient)) {
|
|
||||||
sendMediaPush(context, recipient, messageId);
|
|
||||||
} else {
|
} else {
|
||||||
sendMms(context, messageId);
|
sendMediaPush(context, recipient, messageId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -297,10 +295,8 @@ public class MessageSender {
|
|||||||
{
|
{
|
||||||
if (isLocalSelfSend(context, recipient, forceSms)) {
|
if (isLocalSelfSend(context, recipient, forceSms)) {
|
||||||
sendLocalTextSelf(context, messageId);
|
sendLocalTextSelf(context, messageId);
|
||||||
} else if (!forceSms && isPushTextSend(context, recipient, keyExchange)) {
|
|
||||||
sendTextPush(context, recipient, messageId);
|
|
||||||
} else {
|
} else {
|
||||||
sendSms(context, recipient, messageId);
|
sendTextPush(context, recipient, messageId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user