RocketChat.roomTypes.add('tokenpass', 1, {
	customTemplate: 'tokenChannelsList',
	condition() {
		const user = Meteor.user();
		const hasTokenpass = !!(user && user.services && user.services.tokenpass);

		return hasTokenpass;
	}
});

import { RoomTypeConfig } from 'meteor/rocketchat:lib';

class TokenPassRoomType extends RoomTypeConfig {
	constructor() {
		super({
			identifier: 'tokenpass',
			order: 1
		});

		this.customTemplate = 'tokenChannelsList';
	}

	condition() {
		const user = Meteor.user();
		const hasTokenpass = !!(user && user.services && user.services.tokenpass);

		return hasTokenpass;
	}
}

RocketChat.roomTypes.add(new TokenPassRoomType());

Fix the tokenpass room type not aligning
Fix the tokenpass room type not aligning
