git » sdk » commit 935369f

Need explicity type for c bridge macros

author Stephen Paul Weber
2026-05-26 20:42:11 UTC
committer Stephen Paul Weber
2026-05-26 20:42:11 UTC
parent 526d5dd737a0a1557f17e0f682993e183e77401f

Need explicity type for c bridge macros

borogove/Chat.hx +1 -1

diff --git a/borogove/Chat.hx b/borogove/Chat.hx
index c10f255..80e3b74 100644
--- a/borogove/Chat.hx
+++ b/borogove/Chat.hx
@@ -958,7 +958,7 @@ abstract class Chat extends EventEmitter {
 	/**
 		The Member that originally invited us to this Chat, if we were invited
 	**/
-	public function invitedBy() {
+	public function invitedBy(): Promise<Member> {
 		final inviteEls = invites();
 		if (inviteEls.length < 1) return Promise.resolve(null);