forked from alemi/upub
fix: check bot source and sink relays
This commit is contained in:
parent
65a9c29fbd
commit
ead63ad446
1 changed files with 1 additions and 1 deletions
|
@ -301,6 +301,6 @@ impl Context {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_relay(&self, id: &str) -> bool {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue