mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
v3 client: fix ability to send cards
This commit is contained in:
@@ -70,6 +70,10 @@ angular.module('habitrpg')
|
||||
});
|
||||
}
|
||||
|
||||
function clearCards () {
|
||||
User.user._wrapped && User.set({'flags.cardReceived':false});
|
||||
}
|
||||
|
||||
return {
|
||||
getChat: getChat,
|
||||
postChat: postChat,
|
||||
@@ -80,8 +84,4 @@ angular.module('habitrpg')
|
||||
markChatSeen: markChatSeen,
|
||||
clearCards: clearCards,
|
||||
}
|
||||
|
||||
function clearCards() {
|
||||
User.user._wrapped && User.set({'flags.cardReceived':false});
|
||||
}
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user