#social 2019-04-04

2019-04-04 UTC
timbl joined the channel
#
fr33domlover
rialtate, I'm using Notes with top-level ones having inReplyTo the discussion topic, people here suggested that (as opposed to no inReplyTo)
#
fr33domlover
And that topic can be an actor
#
fr33domlover
rialtate but maybe for reputation you could use tag or something for that?
vitalyster and xmpp-social joined the channel
#
trwnh
fr33domlover: have you considered 'context'? it's vague but i think it's intended for exactly that
#
fr33domlover
trwnh, oh yes that's exactly what I'm using: Every Note has a context. Except Notes that reply to other Notes have inReplyTo the Note they reply to, while top-level Notes have inReplyTo with the same value as the context. I considered simply not setting inReplyTo for top-level Notes, but people suggested that I do. I don't recall the details but my IRC client logs can find them, I'll check ^_^
#
fr33domlover
I guess it's for addressing: inReplyTo recursive traversal would only catch all commenters if the top-level notes point to the context
#
fr33domlover
But I'll check and ask to be sure
timbl, naturzukunft, Guest84_, Guest84, tenma, up201705417 and cwebber2 joined the channel
#
dansup
PeerTube has paved the way for disabling comments/replies and now Pixelfed has implemented it!
#
dansup
curl -i -H "Accept: application/activity+json" https://pixelfed.social/p/dansup/18932016796012544
#
fr33domlover
dansup, how does it work? :)
#
dansup
commentsEnabled boolean value on the Note object
#
fr33domlover
dansup, and if someone still sends a comment? You check for that value and discard the Note if comments are disabled?
#
fr33domlover
dansup, btw why commentsEnabed : sc:Boolean ? Shouldn't commentsEnabled be a property? (while Boolean is a type/class?)
#
dansup
fr33domlover: Yes, I copied the same context as PeerTube
#
fr33domlover
wonders if it's a typo
#
fr33domlover
dansup, hmm strange. Am I just confused? It looks like it accidentally says "commentsEnabled":"sc:Boolean" as if denoting the type, instead of doing what it should do in the context: *map* commentsEnabled to a URI e.g. "commentsEnabled":"sc:commentsEnabled" or "commentsEnabled":"peertube:commentsEnabled" or whatever
cwebber joined the channel
#
fr33domlover
and the @type of commentsEnabled can be sc:Boolean or xsd:Boolean etc.
#
dansup
fr33domlover: Like I said, I just copied the same context as PeerTube uses. Maybe Chocobozzz can answer that
timbl, remmalj[m], cwebber and cwebber2 joined the channel; vitalyster left the channel