mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Re-enabling a once stopped mirroring now doesn't flood the timeline with old posts anymore.
This commit is contained in:
parent
ce0ea5434f
commit
2284e21c0a
6 changed files with 20 additions and 2 deletions
|
@ -140,6 +140,9 @@ function fbpost_post(&$a) {
|
|||
$value = ((x($_POST,'mirror_posts')) ? intval($_POST['mirror_posts']) : 0);
|
||||
set_pconfig($uid,'facebook','mirror_posts', $value);
|
||||
|
||||
if (!$value)
|
||||
del_pconfig($uid,'facebook','last_created');
|
||||
|
||||
$value = ((x($_POST,'suppress_view_on_friendica')) ? intval($_POST['suppress_view_on_friendica']) : 0);
|
||||
set_pconfig($uid,'facebook','suppress_view_on_friendica', $value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue