Merge branch 'develop' into activitypub

This commit is contained in:
Barış Soner Uşaklı
2024-06-11 18:18:14 -04:00
73 changed files with 234 additions and 185 deletions

View File

@@ -640,7 +640,7 @@ usersAPI.changePicture = async (caller, data) => {
picture = returnData && returnData.picture;
}
const validBackgrounds = await user.getIconBackgrounds(caller.uid);
const validBackgrounds = await user.getIconBackgrounds();
if (!validBackgrounds.includes(data.bgColor)) {
data.bgColor = validBackgrounds[0];
}