[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jabber-jdev
Subject:    Re: [jdev] How to tell if I'm registered with a Gateway?
From:       Stefan Strigler <stefan.strigler () gmail ! com>
Date:       2017-01-23 8:12:58
Message-ID: CAE7UswcAWyo+XUQkNojWcBJVQ=8RvfxH3sA52bWPaEQB7L2aLQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


When you query the gateway for registration information it will include a
<registered/> in case you're already registered:

https://xmpp.org/extensions/xep-0100.html#usecases-jabber-edit

Greets, Stefan

On Sat, Jan 21, 2017 at 10:46 PM Stephen Paul Weber <
singpolyma@singpolyma.net> wrote:

> Is there any good way to tell if my JID is registered with a Gateway?  I'd
> like to have my client prompt users to register with the Gateway if they
> are
> not already, but certainly do not want a prompt every time they log in!
>
> Thanks.
>
> --
> Stephen Paul Weber, @singpolyma
> See <http://singpolyma.net> for how I prefer to be contacted
> edition right joseph
> _______________________________________________
> JDev mailing list
> Info: https://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe@jabber.org
> _______________________________________________
>

[Attachment #5 (text/html)]

<div dir="ltr">When you query the gateway for registration information it will \
include a &lt;registered/&gt; in case you&#39;re already \
registered:<div><br></div><div><a \
href="https://xmpp.org/extensions/xep-0100.html#usecases-jabber-edit">https://xmpp.org \
/extensions/xep-0100.html#usecases-jabber-edit</a><br></div><div><br></div><div>Greets, \
Stefan</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Jan 21, 2017 at \
10:46 PM Stephen Paul Weber &lt;<a \
href="mailto:singpolyma@singpolyma.net">singpolyma@singpolyma.net</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Is there any good way to tell if my \
JID is registered with a Gateway?   I&#39;d<br class="gmail_msg"> like to have my \
client prompt users to register with the Gateway if they are<br class="gmail_msg"> \
not already, but certainly do not want a prompt every time they log in!<br \
class="gmail_msg"> <br class="gmail_msg">
Thanks.<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
Stephen Paul Weber, @singpolyma<br class="gmail_msg">
See &lt;<a href="http://singpolyma.net" rel="noreferrer" class="gmail_msg" \
target="_blank">http://singpolyma.net</a>&gt; for how I prefer to be contacted<br \
class="gmail_msg"> edition right joseph<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
JDev mailing list<br class="gmail_msg">
Info: <a href="https://mail.jabber.org/mailman/listinfo/jdev" rel="noreferrer" \
class="gmail_msg" target="_blank">https://mail.jabber.org/mailman/listinfo/jdev</a><br \
                class="gmail_msg">
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org" class="gmail_msg" \
target="_blank">JDev-unsubscribe@jabber.org</a><br class="gmail_msg"> \
_______________________________________________<br class="gmail_msg"> \
</blockquote></div>



_______________________________________________
JDev mailing list
Info: https://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe@jabber.org
_______________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic