Skip to content

Commit

Permalink
Added marked resolved backend feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Eshar committed Feb 10, 2025
1 parent 7a94f16 commit 591d42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ Notifications.markResolved = async function (qid, uid) {

await db.setObject(`notifications:${notification.nid}`, notification);
await db.sortedSetAdd(`uid:${uid}:notifications:unread`, notification.datetime, notification.nid);
};
};

Notifications.notifyReply = async function (replyId, originalPostId, replierUid) {
if (!replyId || !originalPostId || parseInt(replierUid, 10) <= 0) {
Expand Down

0 comments on commit 591d42a

Please sign in to comment.