forked from GNUsocial/gnu-social
Save attentions to Reply table for backwards compatibility
local users only of course
This commit is contained in:
parent
0463d96392
commit
28cd5640c1
@ -1596,6 +1596,11 @@ class Notice extends Managed_DataObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($target->isLocal()) {
|
||||||
|
// is local user
|
||||||
|
$this->saveReply($target->getID()); // since we still have the Reply table which some apparently use!
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$att = Attention::saveNew($this, $target, $reason);
|
$att = Attention::saveNew($this, $target, $reason);
|
||||||
} catch (AlreadyFulfilledException $e) {
|
} catch (AlreadyFulfilledException $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user