diff --git a/MumbleSharp/BasicMumbleProtocol.cs b/MumbleSharp/BasicMumbleProtocol.cs index 3b14011..6bd28dc 100644 --- a/MumbleSharp/BasicMumbleProtocol.cs +++ b/MumbleSharp/BasicMumbleProtocol.cs @@ -125,7 +125,12 @@ protected virtual void ChannelLeft(Channel channel) /// public virtual void ChannelState(ChannelState channelState) { - var channel = ChannelDictionary.AddOrUpdate(channelState.ChannelId, i => new Channel(this, channelState.ChannelId, channelState.Name, channelState.Parent) { Temporary = channelState.Temporary }, + var channel = ChannelDictionary.AddOrUpdate(channelState.ChannelId, i => new Channel(this, channelState.ChannelId, channelState.Name, channelState.Parent) + { + Temporary = channelState.Temporary, + Description = channelState.Description, + Position = channelState.Position + }, (i, c) => { c.Name = channelState.Name; diff --git a/MumbleSharp/Model/Channel.cs b/MumbleSharp/Model/Channel.cs index ea79571..05b54ea 100644 --- a/MumbleSharp/Model/Channel.cs +++ b/MumbleSharp/Model/Channel.cs @@ -16,6 +16,8 @@ public class Channel public bool Temporary { get; set; } public string Name { get; set; } + public string Description { get; set; } + public int Position { get; set; } public uint Id { get; private set; } public uint Parent { get; private set; }