Skip to content
Snippets Groups Projects
Unverified Commit 9af27742 authored by Gustavo Reis Bauer's avatar Gustavo Reis Bauer Committed by GitHub
Browse files

fix: Rocket.cat complains about mongo version (#34892)

parent 4aa95b61
No related branches found
No related tags found
No related merge requests found
---
"@rocket.chat/meteor": patch
---
Fixes an issue where Rocket cat would send '%s' as the mongo version when using a deprecated but supported version of MongoDB.
......@@ -108,7 +108,7 @@ Meteor.startup(async () => {
sendMessagesToAdmins({
msgs: async ({ adminUser }) => [
{
msg: `*${i18n.t(title, adminUser.language)}*\n${i18n.t(text, mongoVersion, adminUser.language)}\n${link}`,
msg: `*${i18n.t(title, adminUser.language)}*\n${i18n.t(text, { postProcess: 'sprintf', sprintf: [mongoVersion] }, adminUser.language)}\n${link}`,
},
],
banners: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment