git » sdk » commit 5b0197e

There may be no details for this member

author Stephen Paul Weber
2026-09-01 15:47:51 UTC
committer Stephen Paul Weber
2026-09-01 15:47:51 UTC
parent 160938e8611c6f85d50fb964e9cf38cf23c89660

There may be no details for this member

In which case I guess just ignore the typing notification

borogove/Client.hx +2 -1

diff --git a/borogove/Client.hx b/borogove/Client.hx
index 777c2b8..e25a22a 100644
--- a/borogove/Client.hx
+++ b/borogove/Client.hx
@@ -657,7 +657,8 @@ class Client extends EventEmitter {
 		};
 		if (userState != null && chat != null) {
 			chat.getMemberDetails([message.senderId]).then(members -> {
-				if (members.length > 0 && members[0].isSelf) return;
+				if (members.length < 1 || members[0] == null) return;
+				if (members[0].isSelf) return;
 
 				this.trigger("chat-state/update", { message: message, userState: userState, member: members[0] });
 			});