Skip to content

Commit

Permalink
chore: move service into correct license
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustrb committed Oct 16, 2024
1 parent 4f6a789 commit 17dd119
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/meteor/ee/app/contact-id-verification/server/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import './services/omnichannelService';
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { LivechatContacts } from '@rocket.chat/models';
import { settings } from '../../../../../app/settings/server';
import { OmnichannelService } from '../../../../../server/services/omnichannel/service';

// TODO: add correct license: 'chat.rocket.contact-id-verification'
await License.overwriteClassOnLicense('livechat-enterprise', OmnichannelService, {
await License.overwriteClassOnLicense('chat.rocket.contact-id-verification', OmnichannelService, {
async isUnverifiedContact(room: AtLeast<IOmnichannelRoom, 'v'>): Promise<boolean> {
if (!room.v.contactId) {
return false;
Expand Down
1 change: 1 addition & 0 deletions apps/meteor/ee/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import '../app/canned-responses/server/index';
import '../app/livechat-enterprise/server/index';
import '../app/message-read-receipt/server/index';
import '../app/voip-enterprise/server/index';
import '../app/contact-id-verification/server/index';
import '../app/settings/server/index';
import './api';
import './requestSeatsRoute';
Expand Down

0 comments on commit 17dd119

Please sign in to comment.