LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.28k stars 884 forks source link

[Bug]: Remote mods can't edit communities #4930

Closed flamingo-cant-draw closed 3 months ago

flamingo-cant-draw commented 3 months ago

Requirements

Summary

If a mod on a remote instance to the community tries to edit it, the changes only apply on the mod's instance as the community's instance rejects the edit.

Steps to Reproduce

  1. Be a mod on a remote community
  2. Edit the community
  3. The changes only apply on your local instance

Technical Details

I ran into this from a new community I have on a new instance for the domain, and when I added a description with my feddit account, the changes weren't reflected on sappho. Here's what I get in the logs:

2024-07-31T11:36:38.874292Z  WARN lemmy_server::root_span_builder: Unknown: cant accept local object from remote instance
    0: lemmy_apub::objects::community::verify
              at crates/apub/src/objects/community.rs:131
    1: lemmy_apub::activities::community::update::verify
              at crates/apub/src/activities/community/update.rs:78
    2: lemmy_apub::activities::community::announce::receive
              at crates/apub/src/activities/community/announce.rs:51
    3: lemmy_server::root_span_builder::HTTP request
            with http.method=POST http.scheme="http" http.host=sappho.social http.target=/inbox otel.kind="server" request_id=eba2ad40-589a-4678-bddb-a5a8fcadca83
              at src/root_span_builder.rs:16

Version

0.19.5

Lemmy Instance URL

No response

Nutomic commented 3 months ago

Duplicate https://github.com/LemmyNet/lemmy/issues/4865