mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
delete unread chats on account delete
This commit is contained in:
@@ -92,6 +92,9 @@ module.exports = function(User) {
|
||||
function(next) {
|
||||
db.delete('uid:' + uid + ':chats', next);
|
||||
},
|
||||
function(next) {
|
||||
db.delete('uid:' + uid + ':chats:unread', next);
|
||||
},
|
||||
function(next) {
|
||||
db.delete('uid:' + uid + ':ip', next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user