Don't remove an activity's actor from the recipients, if specifically placed there
This commit is contained in:
parent
57c015a8e9
commit
fef2c33999
1 changed files with 0 additions and 3 deletions
|
@ -392,9 +392,6 @@ func (a *Activity) Recipients() ItemCollection {
|
||||||
if a.GetType() == BlockType && a.Object != nil {
|
if a.GetType() == BlockType && a.Object != nil {
|
||||||
alwaysRemove = append(alwaysRemove, a.Object)
|
alwaysRemove = append(alwaysRemove, a.Object)
|
||||||
}
|
}
|
||||||
if a.Actor != nil {
|
|
||||||
alwaysRemove = append(alwaysRemove, a.Actor)
|
|
||||||
}
|
|
||||||
if len(alwaysRemove) > 0 {
|
if len(alwaysRemove) > 0 {
|
||||||
removeFromAudience(a, alwaysRemove...)
|
removeFromAudience(a, alwaysRemove...)
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue