diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-24 13:01:12 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-24 13:01:12 -0500 |
commit | 25d628fca314aebb25e3976f006cc96629a3d780 (patch) | |
tree | bb4304947f7727264038b90b0e48a9783a1f30ff /app/workers/activitypub | |
parent | d83fcfd1f15a97bfb5c6f36a82d7253175518daf (diff) |
revert the current unfinished chat implementation
Diffstat (limited to 'app/workers/activitypub')
-rw-r--r-- | app/workers/activitypub/distribute_poll_update_worker.rb | 2 | ||||
-rw-r--r-- | app/workers/activitypub/distribution_worker.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/activitypub/distribute_poll_update_worker.rb b/app/workers/activitypub/distribute_poll_update_worker.rb index 34eed9ab2..310e42433 100644 --- a/app/workers/activitypub/distribute_poll_update_worker.rb +++ b/app/workers/activitypub/distribute_poll_update_worker.rb @@ -35,7 +35,7 @@ class ActivityPub::DistributePollUpdateWorker end end - @inboxes.concat(@account.followers.inboxes) unless @status.direct_visibility? || @status.chat_visibility? + @inboxes.concat(@account.followers.inboxes) unless @status.direct_visibility? @inboxes.uniq! @inboxes.compact! @inboxes diff --git a/app/workers/activitypub/distribution_worker.rb b/app/workers/activitypub/distribution_worker.rb index 67c3054e5..d83f01700 100644 --- a/app/workers/activitypub/distribution_worker.rb +++ b/app/workers/activitypub/distribution_worker.rb @@ -23,7 +23,7 @@ class ActivityPub::DistributionWorker private def skip_distribution? - @status.direct_visibility? || @status.limited_visibility? || @status.chat_visibility? + @status.direct_visibility? || @status.limited_visibility? end def relayable? |