diff --git a/src/org/thoughtcrime/securesms/ConversationActivity.java b/src/org/thoughtcrime/securesms/ConversationActivity.java index 40058fa59d..f5349faf2b 100644 --- a/src/org/thoughtcrime/securesms/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationActivity.java @@ -367,7 +367,11 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity Log.w(TAG, "onActivityResult called: " + reqCode + ", " + resultCode + " , " + data); super.onActivityResult(reqCode, resultCode, data); - if ((data == null && reqCode != TAKE_PHOTO) || (resultCode != RESULT_OK && reqCode != SMS_DEFAULT)) return; + if ((data == null && reqCode != TAKE_PHOTO && reqCode != SMS_DEFAULT) || + (resultCode != RESULT_OK && reqCode != SMS_DEFAULT)) + { + return; + } switch (reqCode) { case PICK_IMAGE: