diaspora/app
Benjamin Neff 649d8c5b56
Mark notifications as read in a single SQL query
There is no need to load all comments only to count them. Lets just let
the database do all the work. If there are no comments found, nothing
will happen anyway.

Also already filter the comments to only search for notifications for
own comments.

And add some tests :)
2024-06-03 00:11:45 +02:00
..
assets Fix horizontal scroll and captcha on mobile, host for user id 2023-11-13 22:13:44 +01:00
controllers Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
helpers Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
mailers Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
models Allow fetching comments 2024-01-21 23:30:51 +01:00
presenters Dont send all likes with list of comments 2023-11-13 02:27:55 +01:00
serializers Always strip exif data and drop user setting for it 2023-06-04 04:25:01 +02:00
services Mark notifications as read in a single SQL query 2024-06-03 00:11:45 +02:00
uploaders Always strip exif data and drop user setting for it 2023-06-04 04:25:01 +02:00
views Fix horizontal scroll and captcha on mobile, host for user id 2023-11-13 22:13:44 +01:00
workers Add notifications for likes on comments 2023-11-13 02:27:55 +01:00