quick and dirty /join command (#3288)

Co-authored-by: Mauro Romito <mauro.romito@element.io>
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
This commit is contained in:
Matthew Hodgson
2024-09-19 16:29:42 +02:00
committed by GitHub
parent 943f33b496
commit 78fb64ced2
3 changed files with 45 additions and 4 deletions
@@ -72,6 +72,7 @@ enum TimelineViewAction {
case hasSwitchedTimeline
case hasScrolled(direction: ScrollDirection)
case setOpenURLAction(OpenURLAction)
}
enum TimelineComposerAction {
@@ -101,6 +102,9 @@ struct TimelineViewState: BindableState {
// It's updated from the room info, so it's faster than using the timeline
var pinnedEventIDs: Set<String> = []
/// an openURL closure which opens URLs first using the App's environment rather than skipping out to external apps
var openURL: OpenURLAction?
var bindings: TimelineViewStateBindings
/// A closure providing the associated audio player state for an item in the timeline.