Commit Graph

6 Commits

Author SHA1 Message Date
Doug c882045a8c Re-enable link detection in clearStore instead of via NotificationCenter. 2021-10-14 14:24:01 +01:00
Doug 91fd7ddb64 Add observer to re-enable link detection when signing out of an account. 2021-10-13 16:01:19 +01:00
Doug 5da9f4646c Use MXError and MXHTTPOperation where possible. 2021-10-13 14:51:50 +01:00
Doug 7cfe5590e1 Stop requesting URL previews if the feature has been disabled on the homeserver. 2021-10-13 12:51:15 +01:00
Doug 522f4e800c Check whether URL previews should be shown in a single location.
Reset all cell data when this setting is changed to force a refresh.
Rename `hasClosedPreview(from:)` to `shouldShowPreview(for:)` for clarity and potentially adding more rules at a later date.
2021-09-29 11:39:11 +01:00
Doug ecf9503dc9 Update for PR feedback.
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
2021-09-08 15:10:13 +01:00