git » sdk » commit 1410c0d

Skip storage of more things

author Stephen Paul Weber
2026-07-27 18:23:54 UTC
committer Stephen Paul Weber
2026-07-27 18:23:54 UTC
parent fbbc3a398b3f48a903f902b3eec48a78972fc2c0

Skip storage of more things

borogove/Chat.hx +2 -2

diff --git a/borogove/Chat.hx b/borogove/Chat.hx
index 5f5e8bc..f98ddb1 100644
--- a/borogove/Chat.hx
+++ b/borogove/Chat.hx
@@ -1772,9 +1772,9 @@ class Channel extends Chat {
 			}
 			if (mav?.attr?.get("until") != null && mavUntil != mav?.attr?.get("until")) {
 				mavUntil = mav?.attr?.get("until");
-				persistence.storeChats(client.accountId(), [this]);
+				if (!noStore) persistence.storeChats(client.accountId(), [this]);
 			}
-			if (mucUser.role != "visitor" && mucUser.jid != null) {
+			if (!noStore && mucUser.role != "visitor" && mucUser.jid != null) {
 				// If they're not a visitor they can't be requesting voice
 				persistence.storeVoiceRequest(client.accountId(), this, mucUser.jid.asBare().asString(), false).then(_ -> {
 					client.trigger("chats/update", [this]);