#45 - Rename group chats

This commit is contained in:
Moez Bhatti
2018-06-09 01:23:22 -04:00
parent d4093cc8ff
commit bd6c5ca5e5
13 changed files with 140 additions and 12 deletions
@@ -166,8 +166,7 @@ class ComposeViewModel @Inject constructor(
}
.filter { conversation -> conversation.isValid }
.filter { conversation -> conversation.id != 0L }
.distinctUntilChanged()
.subscribe { conversation.onNext(it) }
.subscribe(conversation::onNext)
// When the conversation changes, update the threadId and the messages for the adapter
disposables += conversation