Cleaning display name list

Description

Is there a way to clean the display name of users in the navigation bar?

Most of these users were imported for bundle user creation. Imported users often shows and displays their usernames instead of their full names. Some are manually created. Manually created users name often shows correctly.

Server Setup Information

  • Version of Rocket.Chat Server: 4.1.2
  • Operating System: Ubuntu 20
  • Deployment Method: Dokcer
  • Number of Running Instances: 1
  • DB Replicaset Oplog: En
  • NodeJS Version: 12
  • MongoDB Version: 5
  • Proxy:
  • Firewalls involved:

Any additional Information

image

Hi! I am quite positive that there isn’t an API or configuration that will do that.

The only option that comes to my mind is dealing directly in mongodb.

there is a table, called subscriptions, that should hold all the opened DM and channels.

but Please, if doing that way, use caution and do backups :slight_smile:

Ps: There is an API that closes chat, but it will only close the chat for the user that are consuming the endpoint: