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
|
// Antenna
|
||||||
for (const antenna of await getAntennas()) {
|
if (!scyllaClient) {
|
||||||
checkHitAntenna(antenna, note, user).then((hit) => {
|
for (const antenna of await getAntennas()) {
|
||||||
if (hit) {
|
checkHitAntenna(antenna, note, user).then((hit) => {
|
||||||
addNoteToAntenna(antenna, note, user);
|
if (hit) {
|
||||||
}
|
addNoteToAntenna(antenna, note, user);
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Channel
|
// Channel
|
||||||
|
|
Loading…
Reference in a new issue