diff --git a/src/user.js b/src/user.js index 590b7c3..c767084 100644 --- a/src/user.js +++ b/src/user.js @@ -188,7 +188,7 @@ ${profile.description}`; async showRandomProfile() { let profile = await this.selectRandomProfile(); await this.showProfile(profile); - await client.sendText(roomId, i18n.t(["general", "rate"])); + await client.sendText(this.roomId, i18n.t(["general", "rate"])); } async getCurrentlyViewingProfile() {