-
pep.
https://github.com/xsf/memberbot \o/ (Thanks MattJ)
-
MattJ
Now the question is who gets access to it
-
pep.
Alex at least(?)
-
pep.
I mean, "The Secretary"
-
pep.
And ..
-
Alex
someone who is better at python than I am to help reviweing PRs ;-)
-
Zash
Reviewing doesn't require any special privileges, does it?
-
jonas’
I’ll "watch" that repository and see what I can do
-
pep.
Same
-
pep.
Link Mauve, ^
-
MattJ
Yeah, I'm going to leave it read-only until someone needs to modify it
-
pep.
https://xmpp.org/extensions/xep-0121.html TIL
-
pep.
"Dublin Core Infobits Mapping"
-
jonas’
TIL: pidgin understands OOB, to the extent that it marks the entire body as link (probably to the OOB’d URL)
-
j.r
Hi, is there currently a way to implement puppet bridging for MUCs? Like if I have a public MUC and want to bridge it to some other service and wan't all users from the other service appear to be own MUC users.... (I know about the component way and writing a own MUC service, but that doesn't fullfill my usecase really and is much work to implement)
-
MattJ
Is the other service XMPP too?
-
j.r
MattJ, nope in the specific case it's Telegram.... but it should be exchangeable
-
MattJ
I think there was a bridge for that
-
MattJ
I think matterbridge supports it?
-
j.r
MattJ, I know there is Matterbridge.... I host it myself.... but Matterbridge does no puppet bridging.....
-
MattJ
Feature request then :)
-
j.r
MattJ, I did.... but that's why I'm asking how you could implement this in XMPP.....
-
MattJ
Not sure what "this" is
-
j.r
Puppet bridging.... so every user from the other platform is a own user in the muc
-
MattJ
Sure
-
MattJ
Usually in XMPP (which has had bridges, aka transports, aka gateways, for 20 years) a bridge is a component, it can act as any user it wants (on a given domain)
-
MattJ
It sounds like matterbridge connects as a client, and not a component, so is limited to just one JID
-
Zash
One thing tho, all the puppets each receive a copy of every message, which might be annoying, but easy to ignore.
-
MattJ
Even then it could use multiple resources, but that would require multiple connections to the server which would be icky
-
j.r
Yeah I also thought about ressources and yes this is not that nice.....
-
j.r
And yes Matterbridge acts as a client because the use case is more like you want to bridge existing MUCs.....
-
MattJ
There's nothing to stop you doing that
-
j.r
What dou you mean with 'that'?
-
MattJ
Bridging to existing MUCs
-
moparisthebest
j.r: https://github.com/moparisthebest/xmpp-ircd works like that (it's a component, each IRC user is a unique muc member)
-
MattJ
Nice
-
j.r
MattJ, but that does not seem to be possible with components.... so I have it needs to be done the hacky resource way?
-
j.r
moparisthebest, I'll have a look
-
MattJ
j.r, I just said, it's possible with components
-
MattJ
Anything is possible with components
-
j.r
xD
-
MattJ
A component could act as a MUC service, or it could act as a bunch of clients, it's up to the software
-
j.r
Yeah I'll give it a try
-
pep.
MattJ: larma has a draft xep locally to have bots add information to that would allow clients to know from which participants what message came. that would allow for better display
-
Zash
Bot hats?
-
moparisthebest
that's interesting
-
Zash
Wait, what?
-
moparisthebest
the security considerations on that xep also have to be extremely interesting (by the way everyone I'm actually pep.) (see? >:))
-
Zash
Wait, not just the nickname XEP?
-
moparisthebest
Zash, I guess so a single user could "be" multiple nicknames?
-
Zash
https://xmpp.org/extensions/xep-0172.xml ?
-
Zash
Like in Example 4
-
moparisthebest
oh yea, I vaguely remember Conversations having a bug there
-
Zash
Tho if you have some marker (a Hat!) that says "this is a bridge bot, it's allowed to pretend to be other users" then that'll work
-
j.r
moparisthebest, as far as I understand the components way of xmppircd has still the problem that you need to have multiple connections to the muc service right?
-
Zash
Why do you think that?
-
Zash
Components don't have connections to MUCs at all, they have one connection to their host server, which handles all routing and such for them.
-
j.r
Zash, oh no I though wron xD It's just on s2s to the muc service.....
-
moparisthebest
j.r, nope, so a component is a domain, say something.example.org, it can do anything a domain in XMPP can do, so send messages from user1@something.example.org and user2@something.example.org etc etc
-
moparisthebest
so your component just has the 1 connection to your XMPP server
-
moparisthebest
which then may have various s2s connections and so forth
-
j.r
moparisthebest, and the xmpp server has one connection to the muc server now i understand
-
moparisthebest
unless it is the muc server and then none, but, yes :)
-
Zash
So Components are middle ground between simple client connections and s2s connections.
-
j.r
Zash, yeah I understoof components but not how moparisthebest used them
-
moparisthebest
a bot that can use multiple nicknames in a muc though... duplicates might be rough, and I guess message with nickname wouldn't be enough Zash , because you'd want it to populate the members list?
-
Zash
Myeah
-
Zash
Something like the nickname thing would still be a step up for such bridge bots
-
moparisthebest
what stops them from just being a component though?
-
Zash
Lack of privileges or API capabilities.
-
Zash
Never seen that kind of bot in XMPP actually, only in other things.
-
moparisthebest
which kind?
-
Zash
The kind that post messages from The Other Side with text like "$user: $message" or somesuch.
-
MattJ
ugh
-
Zash
Last such I saw was a Matrix bridge on Gitter
-
Zash
And waaaaaay back the Skype bot we had worked like that on the Skype side because there's no proper API for Skype, but on the XMPP side it was "puppets", ie looked like normal MUC participants.
-
Kev
I've seen an XMPP bridge bot :)
-
Kev
I don't remember if that's because I wrote it or not.
-
moparisthebest
rather than solve the specific MUC case, you could have a "I'm connecting like a client but actually want an entire domain and to operate like a component" standard
-
Zash
https://matrix.org/docs/guides/types-of-bridging/ has some text on the various kinds, also applicable to XMPP.
-
MattJ
I can't read that page
-
MattJ
I've tried many times before
-
Zash
Mentally translate "appservice" to "component".
-
MattJ
Semi half-puppted double-backwards unplumbed bridge
-
moparisthebest
I also thought I had a solid handle on bridging but am now thoroughly confused
-
Zash
Read the headings, guess the rest and write your own version? :D