skip antenna check if syclla is enabled

This commit is contained in:
Namekuji 2023-08-17 03:05:41 -04:00
parent 9d60a9701a
commit 72ee60de88
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -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