mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
Adding TODOs
This commit is contained in:
parent
343b8bf08d
commit
2d38786d02
3 changed files with 5 additions and 0 deletions
|
@ -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 a new issue