forked from alemi/upub
fix: also store public addrs for remote activities
oopsss thank you @prefetcher
This commit is contained in:
parent
cf7322dabb
commit
f1ff946245
1 changed files with 1 additions and 1 deletions
|
@ -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)),
|
||||||
|
|
Loading…
Reference in a new issue