mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 16:46:08 +02:00
feat: implement channel membership management and ensure default channels are public
This commit is contained in:
@@ -596,6 +596,16 @@ public sealed class MainWindow : Runnable
|
||||
RefreshChannelList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remove a channel from the left panel list.
|
||||
/// </summary>
|
||||
public void RemoveChannel(string channelName)
|
||||
{
|
||||
_channelNames.Remove(channelName);
|
||||
_channelTopics.Remove(channelName);
|
||||
RefreshChannelList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Update the topic for a specific channel.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user