Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(attachments): Don't use currentSession for fetching attachments
When switching pages in Collectives, `currentSession` might still be the session from the last page. The readonly view (`MarkdownContentEditor`) doesn't get a session, so the outdated session is used. Instead, always pass the session from `AttachmentResolver` to `setAttachmentList`. Fixes: nextcloud/collectives#1096 Fixes: nextcloud/collectives#1112 Signed-off-by: Jonas <[email protected]>
- Loading branch information