mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
[#1221] misc bug fixes on backer.* doesn't exist in chat, default backer &
preference attrs in user model
This commit is contained in:
@@ -89,6 +89,7 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Groups', '$http', 'A
|
||||
}
|
||||
|
||||
$scope.nameTagClasses = function(message){
|
||||
if (!message) return; // fixme what's triggering this?
|
||||
if (message.contributor) {
|
||||
if (message.contributor.match(/npc/i) || message.contributor.match(/royal/i)) {
|
||||
return 'label-royal';
|
||||
|
||||
Reference in New Issue
Block a user