Attachments are rendered as broken images in view mode on Nextcloud 25
Attachments are not rendered correctly in view mode on Nextcloud 25.
The reason is that we don't pass a session to the attachment resolver in RichTextReader.vue
and thus attachments are fetched via webdav instead of Text API.
Related upstream issue: https://github.com/nextcloud/text/issues/2919