What is Nostr?
monal-im.org :xmpp: /
npub1xxs…xwre
2024-09-13 15:41:25
in reply to nevent1q…qpx0

monal-im.org :xmpp: on Nostr: you aren't allowed to query the disco if you don't have a presence subscription. ...

you aren't allowed to query the disco if you don't have a presence subscription. (That's independent of pubsub.)

But for your use case that doesn't matter. We do the exact thame thing in Monal: if we get a muc answer back, the jid is a muc, every other answer/error means that the jid is an 1:1 chat or not existing at all :)
Author Public Key
npub1xxsakz442dmz57rx5s4tazelfqenfheha4k3j5v0njxf7fkhfwhqntxwre