Commit 34fe8d85 authored by Max Kostikov's avatar Max Kostikov

Merge branch 'dev' into 'dev'

Check if post by default is enabled

See merge request hubzilla/addons!277
parents e9cc5092 5a45944b
......@@ -307,6 +307,9 @@ function twitter_post_hook(&$a,&$b) {
if(! strstr($b['postopts'],'twitter'))
return;
if(! intval(get_pconfig($b['uid'],'twitter','post_by_default')))
return;
if($b['parent'] != $b['id'])
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment