mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Fixes #4222 - Hide timeline item actions that the user's power level does not allow
This commit is contained in:
committed by
Stefan Ceriu
parent
f04f3e74a7
commit
ccb0fc7de0
@@ -150,6 +150,7 @@ struct TimelineItemBubbledStylerView<Content: View>: View {
|
||||
}
|
||||
.contextMenu {
|
||||
let provider = TimelineItemMenuActionProvider(timelineItem: timelineItem,
|
||||
canCurrentUserSendMessage: context.viewState.canCurrentUserSendMessage,
|
||||
canCurrentUserRedactSelf: context.viewState.canCurrentUserRedactSelf,
|
||||
canCurrentUserRedactOthers: context.viewState.canCurrentUserRedactOthers,
|
||||
canCurrentUserPin: context.viewState.canCurrentUserPin,
|
||||
|
||||
Reference in New Issue
Block a user