if mentioned_account.local?
LocalNotificationWorker.perform_async(mentioned_account.id, mention.id, mention.class.name, :mention)
- elsif mentioned_account.activitypub?
+ elsif mentioned_account.activitypub? && !@status.local_only?
- ActivityPub::DeliveryWorker.perform_async(activitypub_json, mention.status.account_id, mentioned_account.inbox_url)
+ ActivityPub::DeliveryWorker.perform_async(activitypub_json, mention.status.account_id, mentioned_account.inbox_url, { synchronize_followers: !mention.status.distributable? })
end
end
},
"private": true,
"dependencies": {
- "@babel/core": "^7.11.6",
+ "@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
- "@babel/plugin-proposal-decorators": "^7.10.5",
- "@babel/plugin-transform-react-inline-elements": "^7.10.4",
- "@babel/plugin-transform-runtime": "^7.11.5",
- "@babel/preset-env": "^7.11.5",
- "@babel/preset-react": "^7.10.4",
- "@babel/runtime": "^7.11.2",
+ "@babel/plugin-proposal-decorators": "^7.12.1",
+ "@babel/plugin-transform-react-inline-elements": "^7.12.1",
+ "@babel/plugin-transform-runtime": "^7.12.1",
+ "@babel/preset-env": "^7.12.1",
+ "@babel/preset-react": "^7.12.1",
+ "@babel/runtime": "^7.12.1",
"@clusterws/cws": "^3.0.0",
"@gamestdio/websocket": "^0.3.2",
- "@github/webauthn-json": "^0.5.6",
+ "@github/webauthn-json": "^0.5.7",
"@rails/ujs": "^6.0.3",
"array-includes": "^3.1.1",
+ "atrament": "0.2.4",
"arrow-key-navigation": "^1.2.0",
"autoprefixer": "^9.8.6",
"axios": "^0.20.0",