mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 05:37:22 +01:00
Revert "Performance: Inbox Paging / loading (#11157)"
This reverts commit 5630e8cc8e.
This commit is contained in:
@@ -98,14 +98,8 @@ export function setUserStyles (newMessage, user) {
|
||||
}
|
||||
}
|
||||
|
||||
let contributorCopy = user.contributor;
|
||||
if (contributorCopy && contributorCopy.toObject) {
|
||||
contributorCopy = contributorCopy.toObject();
|
||||
}
|
||||
|
||||
newMessage.contributor = contributorCopy;
|
||||
newMessage.userStyles = userStyles;
|
||||
newMessage.markModified('userStyles contributor');
|
||||
newMessage.markModified('userStyles');
|
||||
}
|
||||
|
||||
export function messageDefaults (msg, user, client, info = {}) {
|
||||
|
||||
Reference in New Issue
Block a user