Description
Komelia V0.19.0
Komga V1.26.3
Offline downloads in Komelia fail for Komga users that have restricted permissions and do not have access to all libraries.
I have multiple users configured on my Komga server.
When I log into Komelia with my administrator account, downloading books/chapters for offline use appears to work normally.
I also tried to empty the cache and reinstalled the app on my tablet.
However, when I log in with a regular non-admin user that only has access to selected libraries, offline downloads fail with the following SQLite error:
org.sqlite.SQLiteException: [SQLITE_CONSTRAINT_FOREIGNKEY]
A foreign key constraint failed (FOREIGN KEY constraint failed)

Description
Komelia V0.19.0
Komga V1.26.3
Offline downloads in Komelia fail for Komga users that have restricted permissions and do not have access to all libraries.
I have multiple users configured on my Komga server.
When I log into Komelia with my administrator account, downloading books/chapters for offline use appears to work normally.
I also tried to empty the cache and reinstalled the app on my tablet.
However, when I log in with a regular non-admin user that only has access to selected libraries, offline downloads fail with the following SQLite error: