git » sdk » commit 6947413

Don't unblock if untrusted

author Stephen Paul Weber
2026-06-16 21:06:18 UTC
committer Stephen Paul Weber
2026-06-16 21:06:18 UTC
parent 4896467042c7e453dccb4dcb81ea12473a9588a4

Don't unblock if untrusted

borogove/Chat.hx +1 -1

diff --git a/borogove/Chat.hx b/borogove/Chat.hx
index 9bb0120..7dfdb72 100644
--- a/borogove/Chat.hx
+++ b/borogove/Chat.hx
@@ -722,7 +722,7 @@ abstract class Chat extends EventEmitter {
 			uiState = Open;
 			client.trigger("chats/update", [this]);
 		}
-		if (isBlocked) unblock();
+		if (isBlocked && trusted) unblock();
 	}
 
 	/**