mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 13:59:48 +01:00
hide added groups/circles
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
f0cbe5113f
commit
6d4e5d2774
@ -859,16 +859,13 @@ class ConversationInfoActivity :
|
|||||||
private fun selectParticipantsToAdd() {
|
private fun selectParticipantsToAdd() {
|
||||||
val bundle = Bundle()
|
val bundle = Bundle()
|
||||||
val existingParticipants = ArrayList<AutocompleteUser>()
|
val existingParticipants = ArrayList<AutocompleteUser>()
|
||||||
|
|
||||||
for (userItem in userItems) {
|
for (userItem in userItems) {
|
||||||
if (userItem.model.calculatedActorType == USERS) {
|
|
||||||
val user = AutocompleteUser(
|
val user = AutocompleteUser(
|
||||||
userItem.model.calculatedActorId!!,
|
userItem.model.calculatedActorId!!,
|
||||||
userItem.model.displayName,
|
userItem.model.displayName,
|
||||||
userItem.model.calculatedActorType.name.lowercase()
|
userItem.model.calculatedActorType.name.lowercase()
|
||||||
)
|
)
|
||||||
existingParticipants.add(user)
|
existingParticipants.add(user)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle.putBoolean(BundleKeys.KEY_ADD_PARTICIPANTS, true)
|
bundle.putBoolean(BundleKeys.KEY_ADD_PARTICIPANTS, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user