mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
closes #1559
fixes the notification image too, the property was called image not picture
This commit is contained in:
@@ -154,7 +154,7 @@ module.exports = function(User) {
|
||||
if (userNameChanged) {
|
||||
notifications.create({
|
||||
text: '[[user:username_taken_workaround, ' + userData.username + ']]',
|
||||
picture: 'brand:logo',
|
||||
image: 'brand:logo',
|
||||
datetime: Date.now()
|
||||
}, function(nid) {
|
||||
notifications.push(nid, uid);
|
||||
|
||||
Reference in New Issue
Block a user