mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-09-14 12:02:59 +00:00
[twitter] Fix direct reshare id source
This commit is contained in:
parent
2dc294df18
commit
aaf16d93d3
1 changed files with 2 additions and 2 deletions
|
@ -588,11 +588,11 @@ function twitter_post_hook(App $a, array &$b)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($b['verb'] == Activity::ANNOUNCE) {
|
if ($b['verb'] == Activity::ANNOUNCE) {
|
||||||
Logger::info('Retweet', ['uid' => $b['uid'], 'id' => substr($b['thr-parent'], 9)]);
|
Logger::info('Retweet', ['uid' => $b['uid'], 'id' => substr($b['parent-uri'], 9)]);
|
||||||
if ($b['deleted']) {
|
if ($b['deleted']) {
|
||||||
twitter_action($a, $b["uid"], substr($orig_post["extid"], 9), "delete");
|
twitter_action($a, $b["uid"], substr($orig_post["extid"], 9), "delete");
|
||||||
} else {
|
} else {
|
||||||
twitter_retweet($b["uid"], substr($b["thr-parent"], 9));
|
twitter_retweet($b['uid'], substr($b['parent-uri'], 9));
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue