mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Move message forwarding out of the flow coordinator. (#2738)
This commit is contained in:
@@ -227,6 +227,14 @@ class RoomTimelineController: RoomTimelineControllerProtocol {
|
||||
}
|
||||
}
|
||||
|
||||
func messageEventContent(for itemID: TimelineItemIdentifier) async -> RoomMessageEventContentWithoutRelation? {
|
||||
guard let eventID = itemID.eventID else {
|
||||
MXLog.warning("The item doesn't have an event ID.")
|
||||
return nil
|
||||
}
|
||||
return await activeTimeline.messageEventContent(for: eventID)
|
||||
}
|
||||
|
||||
// Handle this parallel to the timeline items so we're not forced
|
||||
// to bundle the Rust side objects within them
|
||||
func debugInfo(for itemID: TimelineItemIdentifier) -> TimelineItemDebugInfo {
|
||||
|
||||
Reference in New Issue
Block a user