mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 20:01:55 +00:00
Pass around fromPinnedEvents so we can use it to decide whether to forward the event from the main timeline or the pinned events one
This commit is contained in:
+1
-1
@@ -23,6 +23,6 @@ interface MediaGalleryEntryPoint : FeatureEntryPoint {
|
||||
interface Callback : Plugin {
|
||||
fun onBackClick()
|
||||
fun viewInTimeline(eventId: EventId)
|
||||
fun forward(eventId: EventId)
|
||||
fun forward(eventId: EventId, fromPinnedEvents: Boolean)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ interface MediaViewerEntryPoint : FeatureEntryPoint {
|
||||
interface Callback : Plugin {
|
||||
fun onDone()
|
||||
fun viewInTimeline(eventId: EventId)
|
||||
fun forwardEvent(eventId: EventId)
|
||||
fun forwardEvent(eventId: EventId, fromPinnedEvents: Boolean)
|
||||
}
|
||||
|
||||
data class Params(
|
||||
|
||||
Reference in New Issue
Block a user