Don't check for auto-initiation on group threads.

This commit is contained in:
Moxie Marlinspike 2013-05-05 19:13:33 -07:00
parent 0b172cebce
commit a362c8755a

View File

@ -276,7 +276,8 @@ public class ConversationItem extends LinearLayout {
/// Helper Methods /// Helper Methods
private void checkForAutoInitiate(Recipient recipient, String body, long threadId) { private void checkForAutoInitiate(Recipient recipient, String body, long threadId) {
if (AutoInitiateActivity.isValidAutoInitiateSituation(context, masterSecret, recipient, if (!groupThread &&
AutoInitiateActivity.isValidAutoInitiateSituation(context, masterSecret, recipient,
body, threadId)) body, threadId))
{ {
AutoInitiateActivity.exemptThread(context, threadId); AutoInitiateActivity.exemptThread(context, threadId);