Skip to content

Commit 9dbd58f

Browse files
authored
Merge pull request #17 from rakemen/bugfix
Small bug in Compose Private Message
2 parents 872eb09 + a02bfb4 commit 9dbd58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RedditSharp/Reddit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public void ComposePrivateMessage(string subject, string body, string to, string
334334
CaptchaResponse captchaResponse = solver.HandleCaptcha(new Captcha(captchaId));
335335

336336
if (!captchaResponse.Cancel) // Keep trying until we are told to cancel
337-
ComposePrivateMessage(subject, body, to, captchaId, captchaResponse.Answer);
337+
ComposePrivateMessage(subject, body, to, fromSubReddit, captchaId, captchaResponse.Answer);
338338
}
339339
}
340340

0 commit comments

Comments
 (0)