Update message type on contact add/remove
This commit is contained in:
parent
13e7ee1537
commit
3f80913b2c
1 changed files with 2 additions and 0 deletions
|
|
@ -646,6 +646,7 @@ class ThreadActivity : SimpleActivity() {
|
||||||
|
|
||||||
participants.add(contact)
|
participants.add(contact)
|
||||||
showSelectedContacts()
|
showSelectedContacts()
|
||||||
|
updateMessageType()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun markAsUnread() {
|
private fun markAsUnread() {
|
||||||
|
|
@ -957,6 +958,7 @@ class ThreadActivity : SimpleActivity() {
|
||||||
private fun removeSelectedContact(id: Int) {
|
private fun removeSelectedContact(id: Int) {
|
||||||
participants = participants.filter { it.rawId != id }.toMutableList() as ArrayList<SimpleContact>
|
participants = participants.filter { it.rawId != id }.toMutableList() as ArrayList<SimpleContact>
|
||||||
showSelectedContacts()
|
showSelectedContacts()
|
||||||
|
updateMessageType()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getPhoneNumbersFromIntent(): ArrayList<String> {
|
private fun getPhoneNumbersFromIntent(): ArrayList<String> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue