mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Avoid crashing if data source is not ready when translating Pills
This commit is contained in:
@@ -387,6 +387,7 @@ extension RoomViewController: PermalinkReplacer {
|
||||
|
||||
public func postProcessMarkdown(in attributedString: NSAttributedString) -> NSAttributedString {
|
||||
guard #available(iOS 15.0, *),
|
||||
let roomDataSource,
|
||||
let session = roomDataSource.mxSession,
|
||||
let eventFormatter = roomDataSource.eventFormatter,
|
||||
let roomState = roomDataSource.roomState else {
|
||||
|
||||
Reference in New Issue
Block a user