feat: Allow admin to create new text channels
This commit is contained in:
@@ -108,8 +108,18 @@ export class ChatMessagesComponent {
|
||||
}
|
||||
|
||||
handleTypingStarted(): void {
|
||||
const roomId = this.currentRoom()?.id;
|
||||
|
||||
if (!roomId) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
this.webrtc.sendRawMessage({ type: 'typing', serverId: this.webrtc.currentServerId });
|
||||
this.webrtc.sendRawMessage({
|
||||
type: 'typing',
|
||||
serverId: roomId,
|
||||
channelId: this.activeChannelId() ?? 'general'
|
||||
});
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user