mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 04:26:58 +00:00
copy changes to antenna channel
This commit is contained in:
parent
8f466e8ac5
commit
eebdc2957d
1 changed files with 9 additions and 1 deletions
|
@ -43,7 +43,15 @@ class AntennaChannel extends Channel {
|
||||||
|
|
||||||
if (this.isNoteMutedOrBlocked(note)) return;
|
if (this.isNoteMutedOrBlocked(note)) return;
|
||||||
|
|
||||||
this.send('note', note);
|
if (note.user.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);
|
||||||
} else {
|
} else {
|
||||||
this.send(data.type, data.body);
|
this.send(data.type, data.body);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue