Open singpolyma opened 8 years ago
So, I started trying to add this, but I'm not sure what the best way to do it is with the way the xml-picklers work. XEP-0114 uses a different namespace (but all the same elements/attributes) and so it becomes {jabber:component:accept}message
and {jabber:component:accept}body
instead of {jabber:client}message
-- which is a far more pervasive change than I had hoped.
The strategy used by https://hackage.haskell.org/package/network-protocol-xmpp seems to be to have a namespace attribute on the Session
and use that. But that would mean that all core picklers would need to have a session or namespace argument if s2s or component protocols are to be supported...
any updates on this?
Would be nice if a "session" could be created to act as an external component.