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 public class VoiceMemberInfo : MemberReference
{ {
[JsonProperty("channel_id")] [JsonProperty("channel_id")]
[JsonConverter(typeof(LongStringConverter))] [JsonConverter(typeof(NullableLongStringConverter))]
public long ChannelId; public long? ChannelId;
[JsonProperty("session_id")] [JsonProperty("session_id")]
public string SessionId; public string SessionId;
[JsonProperty("token")] [JsonProperty("token")]