Skip to content

Commit

Permalink
Merge pull request #29498 from RocketChat/release-6.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jun 8, 2023
2 parents 90d310a + 955e251 commit 8f96688
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 7 deletions.
19 changes: 19 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# 6.2.5

`2023-06-07 · 1 🐛 · 1 👩‍💻👨‍💻`

### Engine versions
- Node: `14.21.3`
- NPM: `6.14.17`
- MongoDB: `4.4, 5.0, 6.0`
- Apps-Engine: `1.39.1`

### 🐛 Bug fixes


- Seat counter including apps ([#29489](https://github.com/RocketChat/Rocket.Chat/pull/29489))

### 👩‍💻👨‍💻 Core Team 🤓

- [@ggazzo](https://github.com/ggazzo)

# 6.2.4

`2023-06-07 · 2 🐛 · 2 🔍 · 5 👩‍💻👨‍💻`
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/.docker/Dockerfile.rhel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM registry.access.redhat.com/ubi8/nodejs-12

ENV RC_VERSION 6.2.4
ENV RC_VERSION 6.2.5

MAINTAINER buildmaster@rocket.chat

Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/app/utils/rocketchat.info
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "6.2.4"
"version": "6.2.5"
}
2 changes: 1 addition & 1 deletion apps/meteor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@rocket.chat/meteor",
"description": "The Ultimate Open Source WebChat Platform",
"version": "6.2.4",
"version": "6.2.5",
"private": true,
"author": {
"name": "Rocket.Chat",
Expand Down
16 changes: 13 additions & 3 deletions apps/meteor/server/models/raw/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -2794,9 +2794,19 @@ export class UsersRaw extends BaseRaw {
// here
getActiveLocalUserCount() {
return Promise.all([
this.col.countDocuments({ active: true }),
this.col.countDocuments({ federated: true }),
this.col.countDocuments({ isRemote: true }),
this.col.countDocuments({
active: true,
type: {
$nin: ['app'],
},
roles: { $ne: ['guest'] },
}),
this.col.countDocuments({ federated: true, active: true }),
this.col.countDocuments({
isRemote: true,
active: true,
roles: { $ne: ['guest'] },
}),
]).then((results) => results.reduce((a, b) => a - b));
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rocket.chat",
"version": "6.2.4",
"version": "6.2.5",
"description": "Rocket.Chat Monorepo",
"main": "index.js",
"private": true,
Expand Down

0 comments on commit 8f96688

Please sign in to comment.