Skip to content

Commit 26c3fd4

Browse files
committed
Fixes bug where if you're not a moderator it errors
1 parent 2068ced commit 26c3fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RedditSharp/Things/AuthenticatedUser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ internal override JToken GetJsonData(JToken json) {
125125
/// enrolled in new modmail.
126126
/// </summary>
127127
[JsonProperty("new_modmail_exists")]
128-
public bool NewModmailExists { get; private set; }
128+
public bool? NewModmailExists { get; private set; }
129129

130130
/// <summary>
131131
/// Returns trus if this user is in the reddit beta program.

0 commit comments

Comments
 (0)