Fixed crash on voice state updates

This commit is contained in:
RogueException
2015-11-19 01:00:57 -04:00
parent ff217a2714
commit 401fccfdca

View File

@@ -59,8 +59,8 @@ namespace Discord.API
public class VoiceMemberInfo : MemberReference
{
[JsonProperty("channel_id")]
[JsonConverter(typeof(LongStringConverter))]
public long ChannelId;
[JsonConverter(typeof(NullableLongStringConverter))]
public long? ChannelId;
[JsonProperty("session_id")]
public string SessionId;
[JsonProperty("token")]