Skip to content
Snippets Groups Projects
Commit 06e68a73 authored by Matheus Barbosa Silva's avatar Matheus Barbosa Silva Committed by Guilherme Gazzo
Browse files

Revert "fix: Private apps restrictions are not applied on license removal (#3…" (#33409)

This reverts commit 6c43d22c.
parent c5b0c988
No related branches found
No related tags found
No related merge requests found
---
"@rocket.chat/meteor": patch
---
Adds missing readjustment to private apps restrictions on license removal
import { License } from '@rocket.chat/license';
import { Meteor } from 'meteor/meteor';
Meteor.startup(async () => {
const { Apps } = await import('../../apps');
License.onInvalidateLicense(() => {
void Apps.disableApps();
});
License.onRemoveLicense(() => {
Meteor.startup(() => {
License.onInvalidateLicense(async () => {
const { Apps } = await import('../../apps');
void Apps.disableApps();
});
});
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