From bf4b4ccac0197acebb6a5dba5591e88cdc42cdce Mon Sep 17 00:00:00 2001 From: Allan RIbeiro <35040806+AllanPazRibeiro@users.noreply.github.com> Date: Fri, 10 May 2024 12:43:24 -0300 Subject: [PATCH] fix: returning user status text for apps (#32314) Co-authored-by: Kevin Aleman <11577696+KevLehman@users.noreply.github.com> --- .changeset/rich-bananas-complain.md | 5 +++++ apps/meteor/app/apps/server/converters/users.js | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/rich-bananas-complain.md diff --git a/.changeset/rich-bananas-complain.md b/.changeset/rich-bananas-complain.md new file mode 100644 index 000000000000..9ddaf098c948 --- /dev/null +++ b/.changeset/rich-bananas-complain.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/meteor': patch +--- + +Fixed an issue on Users converter that was not returning the `statusText` property from users even when the typing indicated property existed. diff --git a/apps/meteor/app/apps/server/converters/users.js b/apps/meteor/app/apps/server/converters/users.js index ba3d70ccc3c4..e89bf71a0428 100644 --- a/apps/meteor/app/apps/server/converters/users.js +++ b/apps/meteor/app/apps/server/converters/users.js @@ -35,6 +35,7 @@ export class AppUsersConverter { name: user.name, roles: user.roles, status: user.status, + statusText: user.statusText, statusConnection, utcOffset: user.utcOffset, createdAt: user.createdAt,