<template name="roomList">
	{{#if isLivechat}}
		{{> livechat . }}
	{{else}}
		{{#if isActiveFavorite}}
			{{#with rooms}}
				<h3 class="room-type {{unreadClass ..}} {{roomType ..}}">
					{{_ ../label}} <span class="room-count-small">({{count}})</span>
				</h3>
				<ul>
					{{#each room in this}}
						{{> chatRoomItem room }}
					{{else}}
						<p class="empty">{{_ "No_channels_yet" }}</p>
					{{/each}}
				</ul>

				{{#if hasMoreChannelsButton ..}}
					<button class="more more-channels background-transparent-darker-hover">{{_ "More_channels"}}...</button>
				{{/if}}

				{{#if hasMoreGroupsButton ..}}
					<button class="more more-groups background-transparent-darker-hover">{{_ "More_groups"}}...</button>
				{{/if}}
			{{/with}}
		{{/if}}
	{{/if}}
</template>

<template name="roomList">
	{{#if isLivechat}}
		{{> livechat . }}
	{{else}}
		{{#if isActiveFavorite}}
			{{#with rooms}}
				<h3 class="room-type {{unreadClass ..}} {{roomType ..}}">
					{{_ ../label}} <span class="room-count-small">({{count}})</span>
				</h3>
				<ul class="{{ roomType ..}}">
					{{#each room in this}}
						{{> chatRoomItem room }}
					{{else}}
						<p class="empty">{{_ "No_channels_yet" }}</p>
					{{/each}}
				</ul>

				{{#if hasMoreChannelsButton ..}}
					<button class="more more-channels background-transparent-darker-hover">{{_ "More_channels"}}...</button>
				{{/if}}

				{{#if hasMoreGroupsButton ..}}
					<button class="more more-groups background-transparent-darker-hover">{{_ "More_groups"}}...</button>
				{{/if}}
			{{/with}}
		{{/if}}
	{{/if}}
</template>

Add room type as a class to the ul-group of rooms
Add room type as a class to the ul-group of rooms
