| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-06-24 17:46:34 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-06-24 17:46:34 UTC |
| parent | cac2be4e172e1c9104063808af7f08f58442be6f |
| snikket/Chat.hx | +1 | -1 |
diff --git a/snikket/Chat.hx b/snikket/Chat.hx index 1d10c6c..daa85be 100644 --- a/snikket/Chat.hx +++ b/snikket/Chat.hx @@ -301,7 +301,7 @@ abstract class Chat { /** Block this chat so it will not re-open **/ - public function block(reportSpam: Null<ChatMessage>, onServer: Bool): Void { + public function block(reportSpam: Null<ChatMessage> = null, onServer: Bool = true): Void { if (reportSpam != null && !onServer) throw "Can't report SPAM if not sending to server"; isBlocked = true; if (uiState == Closed) {