Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW][APPS] Possibility to set room closer via Apps LivechatBridge.closeRoom #21025

Merged

Conversation

cuonghuunguyen
Copy link
Contributor

@cuonghuunguyen cuonghuunguyen commented Mar 7, 2021

Proposed changes (including videos or screenshots)

Add an optional param named closer into LivechatBridge.closeRoom so that it will be possible to close the room and send a close room message with the correct room closer.
If the param is not passed, use the room visitor as the room closer.

Issue(s)

closes RocketChat/Rocket.Chat.Apps-engine#373

Apps-Engine's PR: RocketChat/Rocket.Chat.Apps-engine#391

Steps to test or reproduce

Further comments

@cuonghuunguyen cuonghuunguyen force-pushed the set-room-closer-for-apps-engine branch 2 times, most recently from 232daac to 0fbb310 Compare September 4, 2021 12:45
app/apps/server/bridges/livechat.ts Outdated Show resolved Hide resolved
app/apps/server/bridges/livechat.ts Outdated Show resolved Hide resolved
d-gubert
d-gubert previously approved these changes Dec 10, 2021
Copy link
Member

@d-gubert d-gubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution!!

@d-gubert d-gubert dismissed their stale review December 10, 2021 20:04

This was supposed to be in the PR referring to this in the Apps-Engine repo lol

@d-gubert d-gubert self-requested a review December 10, 2021 20:09
@d-gubert d-gubert dismissed renatobecker’s stale review December 10, 2021 20:32

Changes have been addressed

@d-gubert d-gubert changed the title [NEW] Possibility to set room closer via Apps LivechatBridge.closeRoom [NEW][APPS] Possibility to set room closer via Apps LivechatBridge.closeRoom Dec 10, 2021
Copy link
Member

@d-gubert d-gubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For realz now, thank you for the contribution!! :D

@d-gubert d-gubert merged commit f34b07b into RocketChat:develop Dec 10, 2021
@sampaiodiego sampaiodiego mentioned this pull request Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possibility to set room closer when closing LiveChat Rooms
4 participants