mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 16:27:27 +02:00
@@ -163,10 +163,8 @@ module.exports = function(User) {
|
||||
|
||||
if (userNameChanged) {
|
||||
notifications.create({
|
||||
body: {
|
||||
short: '[[user:username_taken_workaround, ' + userData.username + ']]',
|
||||
long: ''
|
||||
},
|
||||
bodyShort: '[[user:username_taken_workaround, ' + userData.username + ']]',
|
||||
bodyLong: '',
|
||||
image: 'brand:logo',
|
||||
datetime: Date.now()
|
||||
}, function(nid) {
|
||||
|
||||
Reference in New Issue
Block a user