mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
fix: clear cache on sort
This commit is contained in:
@@ -125,6 +125,7 @@ SocketModules.chats.sortPublicRooms = async function (socket, data) {
|
||||
throw new Error('[[error:no-privileges]]');
|
||||
}
|
||||
await db.sortedSetAdd(`chat:rooms:public:order`, data.scores, data.roomIds);
|
||||
require('../cache').del(`chat:rooms:public:order:all`);
|
||||
};
|
||||
|
||||
SocketModules.chats.searchMembers = async function (socket, data) {
|
||||
|
||||
Reference in New Issue
Block a user