Adding TODOs
This commit is contained in:
parent
343b8bf08d
commit
2d38786d02
|
@ -100,6 +100,7 @@ data class PowerLevelsContent(
|
|||
}
|
||||
}
|
||||
|
||||
// TODO use this to check if user can notify everyone => compare user role to room permission setting
|
||||
companion object {
|
||||
/**
|
||||
* Key to use for content.notifications and get the level required to trigger an @room notification. Defaults to 50 if unspecified.
|
||||
|
|
|
@ -30,6 +30,7 @@ import im.vector.app.features.displayname.getBestName
|
|||
import im.vector.app.features.home.AvatarRenderer
|
||||
import org.matrix.android.sdk.api.util.MatrixItem
|
||||
|
||||
// TODO create a new item for sections
|
||||
@EpoxyModelClass(layout = R.layout.item_autocomplete_matrix_item)
|
||||
abstract class AutocompleteMatrixItem : VectorEpoxyModel<AutocompleteMatrixItem.Holder>() {
|
||||
|
||||
|
|
|
@ -72,6 +72,9 @@ class AutocompleteMemberPresenter @AssistedInject constructor(context: Context,
|
|||
.asSequence()
|
||||
.sortedBy { it.displayName }
|
||||
.disambiguate()
|
||||
// TODO check if user can notify everyone => compare user role to room permission setting
|
||||
// TODO if user can notify everyone, add entry "@room"
|
||||
// TODO add header sections to separate members and notification
|
||||
controller.setData(members.toList())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue