summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/stream
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-06-03 17:21:11 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-06-03 17:21:11 -0400
commit333b117a2b0a3ee7a9011ba246f2f8838088b650 (patch)
treea9fd6a4b62590d494202e7e75768788ed4184adc /packages/backend/src/server/api/stream
parentcopy changes to home channel (diff)
downloadsharkey-333b117a2b0a3ee7a9011ba246f2f8838088b650.tar.gz
sharkey-333b117a2b0a3ee7a9011ba246f2f8838088b650.tar.bz2
sharkey-333b117a2b0a3ee7a9011ba246f2f8838088b650.zip
fix antenna channel
Diffstat (limited to 'packages/backend/src/server/api/stream')
-rw-r--r--packages/backend/src/server/api/stream/channels/antenna.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/backend/src/server/api/stream/channels/antenna.ts b/packages/backend/src/server/api/stream/channels/antenna.ts
index feb590adac..af1fed9cee 100644
--- a/packages/backend/src/server/api/stream/channels/antenna.ts
+++ b/packages/backend/src/server/api/stream/channels/antenna.ts
@@ -43,15 +43,12 @@ class AntennaChannel extends Channel {
if (this.isNoteMutedOrBlocked(note)) return;
- if (note.user.isSilenced) {
+ if (note.user.isSilenced || note.user.instance?.isSilenced) {
if (!this.user) return;
if (note.userId !== this.user.id && !this.following[note.userId]) return;
}
- const clonedNote = await this.assignMyReaction(note);
- await this.hideNote(clonedNote);
-
- this.send('note', clonedNote);
+ this.send('note', note);
} else {
this.send(data.type, data.body);
}