Fix direct messaging for contact not working

This commit is contained in:
Moez Bhatti
2018-06-21 11:26:24 -04:00
parent ee8cb75a84
commit be25d0f4c4
@@ -91,7 +91,7 @@ class ComposeViewModel @Inject constructor(
private val subscriptionManager: SubscriptionManagerCompat,
private val syncContacts: ContactSync
) : QkViewModel<ComposeView, ComposeState>(ComposeState(
editingMode = threadId == 0L,
editingMode = threadId == 0L && address.isBlank(),
selectedConversation = threadId,
query = query)
) {