skip antenna check if syclla is enabled
This commit is contained in:
parent
9d60a9701a
commit
72ee60de88
1 changed files with 8 additions and 6 deletions
|
@ -393,12 +393,14 @@ export default async (
|
|||
}
|
||||
|
||||
// Antenna
|
||||
for (const antenna of await getAntennas()) {
|
||||
checkHitAntenna(antenna, note, user).then((hit) => {
|
||||
if (hit) {
|
||||
addNoteToAntenna(antenna, note, user);
|
||||
}
|
||||
});
|
||||
if (!scyllaClient) {
|
||||
for (const antenna of await getAntennas()) {
|
||||
checkHitAntenna(antenna, note, user).then((hit) => {
|
||||
if (hit) {
|
||||
addNoteToAntenna(antenna, note, user);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Channel
|
||||
|
|
Loading…
Reference in a new issue