- Notifications.getMultiple now takes an optional uid parameter
- If a notification link in dropdown points to a topic and you're
  in said topic, you will be scrolled to the post instead of
  ajaxified to it.
This commit is contained in:
Julian Lam
2017-08-18 16:30:04 -04:00
parent 1159abf9ec
commit c1d7b06ded
3 changed files with 48 additions and 10 deletions

View File

@@ -140,7 +140,7 @@ UserNotifications.getNotifications = function (nids, uid, callback) {
function (next) {
async.parallel({
notifications: function (next) {
notifications.getMultiple(nids, next);
notifications.getMultiple(nids, uid, next);
},
hasRead: function (next) {
db.isSortedSetMembers('uid:' + uid + ':notifications:read', nids, next);