E2E gives 'undefined' error

Description

When turning on E2E with the admin user and creating a channel with E2E enabled it’s not possible to write in the channel. You’re only met with a ‘undefined’ error and the message is not sent.

Also, every time rocketchat is reloaded, either by reloading webpage or restarting application I get a new encryption token.

Server Setup Information

  • Version of Rocket.Chat Server: 1.1.0
  • Operating System: Ubuntu 18.04
  • Deployment Method: manual
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version: v4.0.10
  • Proxy:
  • Firewalls involved: N/A

Any additional Information