Skip to content

message relay

kaniini requested to merge kaniini/pleroma:feature/relay into develop

This branch introduces an instance-wide actor which boosts public posts. This is used for relaying public posts. The instance-wide actor may also consume other instance's posts, including those of Mastodon relays.

using the message relay

To use the message relay, one simply follows another instance. Pleroma instances will always have the relay at instance.tld/relay. This is done using a mix task:

# MIX_ENV=prod mix relay_follow https://instance.tld/relay

To unfollow another instance:

# MIX_ENV=prod mix relay_unfollow https://instance.tld/relay

You can also use a URI of a Mastodon relay, instead of a Pleroma relay.

disabling the message relay

If you wish for your instance to not act as a relay, you can turn it off by adjusting the :instance configuration context:

config :pleroma, :instance,
  allow_relay: false

testing

The following instances are known to have relay enabled:

  • pleroma.site
  • pleroma.dereferenced.org
  • rabbit.country
  • social.toromino.de

things left to do

  • notifications from the relay shouldn't be delivered to the user
  • boosts from the relay shouldn't be observable

Closes #144 (closed).

Edited by kaniini

Merge request reports

Loading