Fix welcome message not showing when joining a room
Fix welcome message not showing when joining a room
Fix https://gitlab.com/gitlab-org/gitter/webapp/issues/2368
Restores passing in embedded
to contextGenerator.generateTroupeContext
, as we did in https://gitlab.com/gitlab-org/gitter/webapp/commit/c2a4e7dde5124960745b563de3f909607a7db36d#2bdd6ace9e9f516349e8aca5e1a4b77bbecc6950_112_111 (this was removed in https://gitlab.com/gitlab-org/gitter/webapp/commit/685df019a90afe5d8bb6d1c44fc398c6507ca1be#2bdd6ace9e9f516349e8aca5e1a4b77bbecc6950_117_115)
Testing strategy
- Create a room with a welcome message
- Leave the room and press the "Join Room" button
- Notice the welcome message
- Visit the same room but the embed view like how Sidecar uses,
http://localhost:5000/<community>/<room>/~embed
- Press "Join Room"
- Notice how you join the room without a welcome message
Edited by Eric Eastwood