@alex @3baabe4d008648b5438bfe3180e3d443cbc36478fbabb65007099a96a1c56922
Ultimately I came to the conclusion to drop the gateway and do something that I call Nostr-over-XMPP.
Basically wrapping signed Nostr events inside XMPP messages.
This breaks compatibility with vanilla XMPP clients, but you get some XMPP features to your Nostr account, like a contacts roster, nicknames, blocklists, message history etc.