Issues uploading avatars & emoji

Description

Users cannot upload their Avatar directly, but can update it using a URL. Tested in a web browser and the Windows desktop app.

Server Setup Information

  • Version of Rocket.Chat Server: 4.5.4
  • Operating System: Ubuntu 21
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: 14.19.1
  • MongoDB Version: 4.4.13
  • Proxy: nginx
  • Firewalls involved:

Any additional Information

This also affects emoji uploads, and seems to be a regression of [3.6.0] Adding new custom emoji or profile avatar leads to: The formData parameter MUST be an instance of the FormData class. · Issue #18736 · RocketChat/Rocket.Chat · GitHub

Hi!

Sorry for the late response. Can you check if this issue persists on latest version?