mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
removed icon:bgColor and icon:text from db calls
calculates from username on the fly
This commit is contained in:
@@ -52,7 +52,7 @@ var async = require('async'),
|
||||
}
|
||||
|
||||
if (notification.from && !notification.image) {
|
||||
User.getUserFields(notification.from, ['username', 'userslug', 'picture', 'icon:bgColor', 'icon:text'], function(err, userData) {
|
||||
User.getUserFields(notification.from, ['username', 'userslug', 'picture'], function(err, userData) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user