Handle text only quote drafts

This commit is contained in:
Niels Andriesse
2021-06-18 15:54:24 +10:00
parent 9419bafe93
commit 123cd6d486
8 changed files with 105 additions and 103 deletions

View File

@@ -77,11 +77,7 @@ class Contact(val sessionID: String) {
companion object {
fun contextForRecipient(recipient: Recipient): ContactContext {
return if (recipient.isOpenGroupRecipient) {
ContactContext.OPEN_GROUP
} else {
ContactContext.REGULAR
}
return if (recipient.isOpenGroupRecipient) ContactContext.OPEN_GROUP else ContactContext.REGULAR
}
}
}