fix: also store public addrs for remote activities

oopsss thank you @prefetcher
This commit is contained in:
əlemi 2024-04-15 21:29:30 +02:00
parent cf7322dabb
commit f1ff946245
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -162,7 +162,7 @@ impl Context {
.iter() .iter()
.filter(|to| !to.is_empty()) .filter(|to| !to.is_empty())
.filter(|to| !to.ends_with("/followers")) .filter(|to| !to.ends_with("/followers"))
.filter(|to| local_activity || self.is_local(to)) .filter(|to| local_activity || to.as_str() == apb::target::PUBLIC || self.is_local(to))
.map(|to| model::addressing::ActiveModel { .map(|to| model::addressing::ActiveModel {
id: sea_orm::ActiveValue::NotSet, id: sea_orm::ActiveValue::NotSet,
server: Set(Context::server(to)), server: Set(Context::server(to)),