diff --git a/src/org/thoughtcrime/securesms/service/SmsListener.java b/src/org/thoughtcrime/securesms/service/SmsListener.java index e706e85ab2..fab3d2d107 100644 --- a/src/org/thoughtcrime/securesms/service/SmsListener.java +++ b/src/org/thoughtcrime/securesms/service/SmsListener.java @@ -128,7 +128,7 @@ public class SmsListener extends BroadcastReceiver { if (messageBody == null) return false; - if (messageBody.matches("Your TextSecure verification code: [0-9]{3,4}-[0-9]{3,4}") && + if (messageBody.matches(".*Your TextSecure verification code: [0-9]{3,4}-[0-9]{3,4}") && TextSecurePreferences.isVerifying(context)) { return true;