this post was submitted on 19 Feb 2025
0 points (NaN% liked)

ActivityPub

0 readers
2 users here now

Focused discussion related to ActivityPub integration in NodeBB


This is a forum category containing topical discussion. You can start new discussions by mentioning this category.

founded 6 months ago
 

The logs from this are already cleared on my server, but when I sent a private message (standard Create/Note with a single recipient who also has a Mention in the tag property) from my custom software to my account here, I received a 500 error saying something like "cc is not iterable" (though I don't know the exact phrasing). When I included cc as an empty array, it started working. Not sure whether it was missing on Create or Note, maybe it was both.

you are viewing a single comment's thread
view the rest of the comments
[–] nutomic@lemmy.ml 2 points 5 months ago (2 children)

FYI the next Lemmy version will use Create/Note for private messages. You can test it on voyager.lemmy.ml

https://github.com/LemmyNet/lemmy/pull/5221

[–] julian@community.nodebb.org 1 points 5 months ago (1 children)

@nutomic@lemmy.ml thanks for the update! That's awesome to hear

[–] freamon@community.nodebb.org 1 points 5 months ago (1 children)

@julian I've added support to PieFed to successfully receive Create / Note as a PM from NodeBB.

From Nutomic's PR, it looks like you'll continue you get Create / ChatMessage from them, as also you will from PieFed. This currently fails, as I guess that it converts them into a Create / Note, but then complains of there being no 'cc'.

It doesn't make sense for PMs to be 'carbon copied' to anyone, so I'll raise an Issue at your repo.

[–] julian@community.nodebb.org 1 points 5 months ago (1 children)

@freamon thanks! Happy to look into handling Create(ChatMessage)... I think the error aside, NodeBB would drop it anyway since ChatMessage isn't an expected post type.

[–] freamon@community.nodebb.org 1 points 5 months ago

@julian Oh, I've just realised I read Nutomic's PR the wrong way around. After 2.0, you'll start getting Notes from them. If 'ChatMessage' processing isn't worth handling by NodeBB, I can change PieFed to send you Notes instead.

[–] Edie@lemmy.ml 1 points 1 month ago (1 children)

It seems all of the test instances are down? I get a 502 no matter which of voyager.lemmy.ml, enterprise.lemmy.ml, and ds9.lemmy.ml I try to open

[–] nutomic@lemmy.ml 1 points 1 month ago (1 children)

Yes not sure whats wrong there, the server was using a lot of cpu for no reason. Restart fixed it for now, let me know if it happens again.

[–] Edie@lemmy.ml 1 points 1 month ago (1 children)

Voyager still has an issue, but the others seem to work now

[–] nutomic@lemmy.ml 1 points 1 month ago

That instance runs Lemmy 1.0 which is still in alpha state, and the frontend is not compatible yet. So only the api works there.