mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Also apply allowEndToEndEncryptedChatWithoutPresence setting to chat room creation fragment
This commit is contained in:
parent
0d7f4d7c8d
commit
238ee8dc63
1 changed files with 3 additions and 1 deletions
|
|
@ -64,7 +64,9 @@ class ChatRoomCreationFragment : SecureFragment<ChatRoomCreationFragmentBinding>
|
|||
|
||||
adapter = ContactsSelectionAdapter(viewLifecycleOwner)
|
||||
adapter.setGroupChatCapabilityRequired(viewModel.createGroupChat.value == true)
|
||||
adapter.setLimeCapabilityRequired(viewModel.isEncrypted.value == true)
|
||||
adapter.setLimeCapabilityRequired(
|
||||
viewModel.isEncrypted.value == true && !corePreferences.allowEndToEndEncryptedChatWithoutPresence
|
||||
)
|
||||
binding.contactsList.adapter = adapter
|
||||
|
||||
val layoutManager = LinearLayoutManager(requireContext())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue