Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/pretty-dragons-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@rocket.chat/apps-engine': patch
'@rocket.chat/meteor': patch
---

Fixes an issue that prevents modifications from being persisted in the IPreRoomCreateModify
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ export class AppListenerManager {
return !!(lockedEventList && lockedEventList.size);
}

/* eslint-disable-next-line complexity */
public async executeListener<I extends keyof IListenerExecutor>(int: I, data: IListenerExecutor[I]['args'][0]): Promise<IListenerExecutor[I]['result']> {
if (this.isEventBlocked(int)) {
throw new EssentialAppDisabledException('There is one or more apps that are essential to this event but are disabled');
Expand Down Expand Up @@ -794,7 +795,7 @@ export class AppListenerManager {
}
}

return data;
return room;
}

private async executePostRoomCreate(data: IRoom): Promise<void> {
Expand Down
Loading