mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 23:23:39 +00:00
Only send round-trip key exchanges over SMS.
This commit is contained in:
parent
1d4d9663db
commit
145e4335fc
@ -71,7 +71,7 @@ public class UniversalTransport {
|
||||
Recipient recipient = message.getIndividualRecipient();
|
||||
String number = Util.canonicalizeNumber(context, recipient.getNumber());
|
||||
|
||||
if (isPushTransport(number)) {
|
||||
if (isPushTransport(number) && !message.isKeyExchange()) {
|
||||
boolean isSmsFallbackSupported = isSmsFallbackSupported(number);
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user