1
0
Fork 0
forked from alemi/upub

fix: check bot source and sink relays

This commit is contained in:
əlemi 2024-05-27 06:39:45 +02:00
parent 65a9c29fbd
commit ead63ad446
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -301,6 +301,6 @@ impl Context {
}
pub fn is_relay(&self, id: &str) -> bool {
self.0.relays.contains(id)
self.0.relay.sources.contains(id) || self.0.relay.sinks.contains(id)
}
}