Fixed mastodon checkbox on new entry page
This commit is contained in:
@@ -34,6 +34,9 @@ class MastodonPlugin(BasePlugin):
|
||||
return True
|
||||
|
||||
def handle_event(self, event):
|
||||
if not event.get('post_to_mastodon', True):
|
||||
return {'status': 'skipped', 'plugin': self.name, 'reason': 'not_requested'}
|
||||
|
||||
config = dict(self.config)
|
||||
user_id = event.get('user_id')
|
||||
if user_id:
|
||||
|
||||
Reference in New Issue
Block a user