-
Notifications
You must be signed in to change notification settings - Fork 13.1k
[FIX] Non admin cannot add custom avatar to group #18960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pierre-lehnen-rc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is causing avatars to not be resized even when the setting is on.
|
@pierre-lehnen-rc well only if it is a room avatar. Since the option for resizing avatars is under "Accounts" it makes sense that it only applies to Accounts. But yes, the whole avatar system should probably be cleaned out a bit. This PR would work, but it would make this part of the codebase a bit more messy. Sadly I don't know Meteor... On the other hand this is a hotfix for a quite important issue imho so I would very much like to see it merged in 3.7.0 |
|
I am confused.This is in the Project https://github.com/RocketChat/Rocket.Chat/projects/54#card-45883577 but 3.7.0 has been released now and this is apparently not in it... |
|
Yes, unfortunately still not fixed in 3.7.0: I20200929-10:57:49.543(0) Exception in setTimeout callback: TypeError: Cannot read property 'etag' of undefined at app/lib/server/functions/setRoomAvatar.js:34:46 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) at packages/meteor.js:550:25 at runWithEnvironment (packages/meteor.js:1286:24) Wouldn't it make sense to fix already released features rather then releasing another bunch of new features every few weeks with new bugs?? |
|
Still happened in 3.7.1. |
|
Thank you @pierre-lehnen-rc! Does anybody know when this might be in a stable release? |
|
Thx @sampaiodiego |
Proposed changes
Allow non-admins to change room avatar.
Issue(s)
#18894
How to test or reproduce
Screenshots
Types of changes
Checklist
Changelog
Allow non-admins to change room avatar.
Further comments