Skip to content

Commit 17c95f3

Browse files
authored
Merge pull request #153 from chuggafan/NewModMailFix
Fixes bug where if you're not a moderator it errors on creating user
2 parents 2068ced + 26c3fd4 commit 17c95f3

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)