Why aren't lemmy DMs compatible with mastodon?
from Irelephant@lemm.ee to fediverse@lemmy.world on 23 Mar 11:21
https://lemm.ee/post/59236673

Mastodon dms are just posts with limited visibility, and a mention to the person recieving it. They don’t seem to be compatible with lemmy.

#fediverse

threaded - newest

rikudou@lemmings.world on 23 Mar 11:42 next collapse

They’re not, they’re a different kind of object on the ActivityPub level. Lemmy and some others use the unofficial extension called Litepub which includes a custom ChatMessage type, while Mastodon and others have chosen to repurpose the Note object (used for posts and comments on Mastodon and comments on Lemmy) with limited visibility and weird mention rules.

Eiri@lemmy.ca on 23 Mar 12:21 next collapse

Sounds like the protocol needs an upgrade if people are doing funny stuff like that. No?

Kichae@lemmy.ca on 23 Mar 12:35 next collapse

So many AP platforms are made by a couple of guys in their garage, it’s not even funny, and the mentality of “just dicking around” means what gets used is whatever the whims of the day dictate, rather than the standard.

“If it works, it’s not stupid” and all that.

But that kind of work lacks real world testing, and depe concern for public expectaton or desire.

Plus, you have to keep in mind that the idea of interplatform interoperability isn’t this core conceit of ActivityPub. It’s a potential use case, but it’s not an expectation. There’s no reason anyone should expect interop like that, other than some developers wanted to try it.

But some didn’t, and now that their platforms are gaining audience, they’re refactoring to meet that audience’s expectations.

rikudou@lemmings.world on 23 Mar 14:57 collapse

There’s no spec for private messages at all, there’s no standard to implement. See also my explanation/rant as the other reply I made to the parent comment.

rikudou@lemmings.world on 23 Mar 14:54 collapse

I recently did a library implementing pretty much the whole ActivityPub protocol and let me tell you one thing I’ve learned: ActivityPub is a half-assed unfinished mess.

It has so little constraints that pretty much anything is valid. You’d think that there was some logic at the core, but not really.

For example, there’s the Like activity, the name is pretty self-explanatory. But it’s valid to like anything. You want to like another Like activity? Why not! So you can like a like that likes a like…

Obviously, no real project implements such nonsense. But because almost everything is valid and up to interpretation of the implementer, there really is no single ActivityPub to implement that gets you running smoothly. There are many de-facto standards with various levels of compatibility with each other. Sending private messages is one such thing that many projects chose to implement in different ways.

Fun fact: Without implementing the HTTP Signatures spec, your app will not be able to send any activities to any software, because ActivityPub allows anyone to impersonate anyone, which obviously didn’t really fly with people developing actual software that uses it.

In conclusion, pure ActivityPub is an unusable mess in its pure form that literally won’t be able to communicate with other software implementing “ActivityPub,” so everyone is kind of implementing a similar slice/hybrid of ActivityPub and other protocols, but not exactly the same ActivityPub.

SkaveRat@discuss.tchncs.de on 23 Mar 15:02 next collapse

ActivityPub is a half-assed unfinished mess.

tried working on my own service and figured this one out very fast.

It’s amazing that it works at all. 98% of the stuff is not documented at all. and the stuff that is, can hardly be called documentation.

Eiri@lemmy.ca on 23 Mar 16:26 next collapse

Oof, sounds like we really need a new, better put together version of the protocol. I wonder if the W3C would be good to do that.

Zangoose@lemmy.world on 23 Mar 17:08 collapse

Doesn’t W3C already maintain the ActivityPub protocol?

Edit: nevermind I misunderstood this

p03locke@lemmy.dbzer0.com on 23 Mar 18:02 next collapse

They have conferences about ActivityPub. Why isn’t W3C trying to fix this mess in newer backwards-incompatible versions? The time to do it is now, not later, because it would involve a major version and years of pushing for adoption. The lack of standardization of basic concepts is why integrations of different types of implementations is a broken mess, which is the whole fucking point of ActivityPub! Now, we have to compete with ATProto, which has different kinds of problems, and it’s very possible that it just wins out and kills ActivityPub.

This reminds of the early days of SMTP, where there was zero thought behind security, and that created an entire spam industry.

PeerTube integration into Lemmy is still shit, poorly implemented, and rarely linked by Lemmy admins.

Microw@lemm.ee on 29 Mar 19:48 collapse

There are now Fediverse Enhancement Proposals (FEP) that are being published by Fedi developers with the goal to improve interoperability and well-being of diverse services, applications and communities that form the Fediverse.

Eibriel@sopuli.xyz on 24 Mar 02:38 collapse

Email specs be like 👀

rikudou@lemmings.world on 24 Mar 08:38 collapse

Can you send me some details at my totally valid email “Rikudou’s personal email”@5.75.133.3?

Irelephant@lemm.ee on 23 Mar 12:33 next collapse

I thought litepub was abandoned?

rikudou@lemmings.world on 23 Mar 14:40 collapse

Yep, it was, but the spec still exists and few projects borrowed the ChatMessage type from it.

Irelephant@lemm.ee on 26 Mar 17:00 collapse

has the FEP system helped?

flamingos@feddit.uk on 23 Mar 12:15 collapse

Lemmy will change the way it handles DMs in 1.0 specifically for Masto compatibility.

Blaze@lemmy.dbzer0.com on 23 Mar 12:27 collapse

Nice