(this.show = false)}
>
${msg("Conversations")}
(this.maximized = !this.maximized)}
>
{
if (!e.defaultPrevented && e.detail.action === ActionType.Select && e.detail.app !== undefined) {
this.conversationId = e.detail.app?.id;
}
}}
>
{
const newApp = await this.createConversationController.create(e.detail.members);
if (newApp) {
this.conversationId = newApp.id;
}
}}
${ref(this.conversationNewRef)}
>
{
if (!e.defaultPrevented && e.detail.action === ActionType.Select && e.detail.app !== undefined) {
this.conversationId = e.detail.app?.id;
}
}}
?hidden=${Boolean(!this.conversationId)}
>
(this.conversationId = null)}>
${this.unreadConversationsController.isUnreadPending
? ""
: this.unreadConversationsController.unread}
${this.conversationId
? html``
: conversationListLength
? html`${msg("Select a conversation")}`
: nothing}