mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 23:40:38 +01:00
* WIP * more unread work * faster teaser block handling if user doesn't have anyone blocked don't check * much faster filtering of blocked posts * add missing uid * add tidsByFilter to return * dont load all pids to find previous non-blocked teaser * fix unread filters they no longer use unread/new unread/watched etc they are query strings now * shorter nav item code * add unreplied to filters fix icons not clearing to 0 dont increment unread counters if there is a reply in a topic where you ignored the topic creator
This commit is contained in:
committed by
GitHub
parent
df4f5f6f27
commit
cf75c79611
@@ -34,6 +34,9 @@ SocketHelpers.notifyNew = function (uid, type, result) {
|
||||
function (uids, next) {
|
||||
user.blocks.filterUids(uid, uids, next);
|
||||
},
|
||||
function (uids, next) {
|
||||
user.blocks.filterUids(result.posts[0].topic.uid, uids, next);
|
||||
},
|
||||
function (uids, next) {
|
||||
plugins.fireHook('filter:sockets.sendNewPostToUids', { uidsTo: uids, uidFrom: uid, type: type }, next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user