You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow replying to any remote message in a thread (#5201)
* Allow replying to any remote message in a thread.
This will open the thread screen based on the selected event:
- If it was already part of a thread, it will open that thread.
- Otherwise, it'll open the thread timeline screen so you can start a thread from the event.
* Add the feature flag to decide which action to perform. Also, rename the feature flag to something easier to understand.
* Display the reply in thread action based on the feature flag too
---------
Co-authored-by: ElementBot <[email protected]>
Copy file name to clipboardExpand all lines: features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListPresenter.kt
Copy file name to clipboardExpand all lines: features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/pinned/list/PinnedMessagesListPresenter.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ class PinnedMessagesListPresenter @AssistedInject constructor(
118
118
val syncUpdateFlow = room.syncUpdateFlow.collectAsState()
119
119
val userEventPermissions by userEventPermissions(syncUpdateFlow.value)
120
120
121
-
val displayThreadSummaries by featureFlagService.isFeatureEnabledFlow(FeatureFlags.HideThreadedEvents).collectAsState(false)
121
+
val displayThreadSummaries by featureFlagService.isFeatureEnabledFlow(FeatureFlags.Threads).collectAsState(false)
Copy file name to clipboardExpand all lines: features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelinePresenter.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ class TimelinePresenter @AssistedInject constructor(
136
136
}.collectAsState(initial =true)
137
137
138
138
val displayThreadSummaries by produceState(false) {
139
-
value = featureFlagService.isFeatureEnabled(FeatureFlags.HideThreadedEvents)
139
+
value = featureFlagService.isFeatureEnabled(FeatureFlags.Threads)
0 commit comments