mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-09-20 00:35:47 +01:00
Update member labels live in conversation.
This commit is contained in:
committed by
Cody Henthorne
parent
445884199a
commit
04616e5caa
@@ -301,6 +301,16 @@ class ConversationViewModel(
|
||||
)
|
||||
}
|
||||
|
||||
disposables += recipientRepository
|
||||
.groupRecord
|
||||
.filter { it.isPresent && it.get().isV2Group }
|
||||
.map { it.get().requireV2GroupProperties().memberLabelsByAci() }
|
||||
.distinctUntilChanged()
|
||||
.skip(1)
|
||||
.subscribeBy(onNext = {
|
||||
pagingController.onDataInvalidated()
|
||||
})
|
||||
|
||||
_inputReadyState = Observable.combineLatest(
|
||||
recipientRepository.conversationRecipient,
|
||||
recipientRepository.groupRecord
|
||||
|
||||
Reference in New Issue
Block a user