Only send round-trip key exchanges over SMS.

This commit is contained in:
Moxie Marlinspike 2014-02-20 12:05:24 -08:00
parent 1d4d9663db
commit 145e4335fc

View File

@ -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 {