]> cat aescling's git repositories - mastodon.git/commitdiff
Merge branch 'master' into glitch-soc/merge-upstream
authorThibaut Girka <thib@sitedethib.com>
Mon, 26 Oct 2020 14:47:21 +0000 (15:47 +0100)
committerThibaut Girka <thib@sitedethib.com>
Mon, 26 Oct 2020 14:48:16 +0000 (15:48 +0100)
Conflicts:
- `app/services/process_mentions_service.rb`:
  glitch-soc local-only handling, ported upstream changes

1  2 
Gemfile
Gemfile.lock
app/services/process_mentions_service.rb
package.json
yarn.lock

diff --cc Gemfile
Simple merge
diff --cc Gemfile.lock
Simple merge
index d5ea69da1354b948107ec26e6549b8d948154cb2,4c02c7865279769f03c11394f51fcb684cc1fa18..570cd82728e6db6bd8dc443663421d53bad892f5
@@@ -59,8 -59,8 +59,8 @@@ class ProcessMentionsService < BaseServ
  
      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
  
diff --cc package.json
index 5d07f31a5d6c3cfce7a60e1f9e876d431320b9b2,e13f4f704590709572dcaea10cffd34b37019fa7..84dfb8a642671a2714402cb61492f0d097ed48a7
    },
    "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",
diff --cc yarn.lock
Simple merge