This diff enables avatar uploads to blob service on web. Modified the hook to conditionally use function that uploads avatar to blob service instead of keyserver. This is very similar to what we currently do with multimedia messages.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
web/avatars/edit-user-avatar-menu.react.js | ||
---|---|---|
74 ↗ | (On Diff #32842) | Comment above the definition of baseSetUserAvatar says: // NOTE: Do **NOT** consume `baseSetUserAvatar` directly. // Use platform-specific `[web/native]SetUserAvatar` instead. Are we sure this is okay? If we're sure it's okay, should we change the comment? |