On Sat, Mar 9, 2013, at 07:00 PM, [email protected] wrote: > Send JDev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.jabber.org/mailman/listinfo/jdev > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of JDev digest..." > > > Today's Topics: > > 1. MUC question on Multi-session Nick (Daniel Dormont) > 2. Re: MUC question on Multi-session Nick (Kevin Smith) > 3. Re: MUC question on Multi-session Nick (Daniel Dormont) > 4. Re: MUC question on Multi-session Nick (Daniel Dormont) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 8 Mar 2013 10:30:10 -0500 > From: Daniel Dormont <[email protected]> > To: "Jabber/XMPP software development list" <[email protected]> > Subject: [jdev] MUC question on Multi-session Nick > Message-ID: > <cagyovv2qjlrpduu-hk7xg08_ftvvv+ib9eoq59_totqceis...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > I have a question about the expected behavior of multi-session nicks > in a semi-anonymous room. Specifically, if user A joins a room where > user B is already present with two sessions sharing the same nick, > user A will only see this nick once in the list of presences sent when > they join. But if user B leaves the room in only one of their > sessions, that unavailable presence is still broadcast to the room and > A sees it. Is there a way in this case for A to know that B is still > in the room (but only from one session, now)? > > thanks, > Dan > > > ------------------------------ > > Message: 2 > Date: Fri, 8 Mar 2013 15:32:57 +0000 > From: Kevin Smith <[email protected]> > To: "Jabber/XMPP software development list" <[email protected]> > Subject: Re: [jdev] MUC question on Multi-session Nick > Message-ID: > <CAOb_FnwoFF6wNe+2a9=Hjm9QjkJ05YrPQXeAbzchdw2=zkt...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On Fri, Mar 8, 2013 at 3:30 PM, Daniel Dormont <[email protected]> > wrote: > > I have a question about the expected behavior of multi-session nicks > > in a semi-anonymous room. Specifically, if user A joins a room where > > user B is already present with two sessions sharing the same nick, > > user A will only see this nick once in the list of presences sent when > > they join. But if user B leaves the room in only one of their > > sessions, that unavailable presence is still broadcast to the room and > > A sees it. Is there a way in this case for A to know that B is still > > in the room (but only from one session, now)? > > Multi-session, as currently specced, works transparently - you don't > know that there are multiple sessions associated with someone else's > nick, and you don't see them leave the room until their last session > leaves. > > /K > > > ------------------------------ > > Message: 3 > Date: Fri, 8 Mar 2013 10:42:08 -0500 > From: Daniel Dormont <[email protected]> > To: [email protected], "Jabber/XMPP software development list" > <[email protected]> > Subject: Re: [jdev] MUC question on Multi-session Nick > Message-ID: > <cagyovv3dt_euy5fixwfyq5oifu4gdfv93y-ndz48fbfomfm...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Thanks, that's what I thought. In my current implementation (an > admittedly slightly hacked ejabberd-2.1.10) I'm not seeing that - the > other occupants are seeing the broadcast right away. Ok, I'll see what > I can figure out from the code. > > dan > > On Fri, Mar 8, 2013 at 10:32 AM, Kevin Smith <[email protected]> wrote: > > On Fri, Mar 8, 2013 at 3:30 PM, Daniel Dormont <[email protected]> > > wrote: > >> I have a question about the expected behavior of multi-session nicks > >> in a semi-anonymous room. Specifically, if user A joins a room where > >> user B is already present with two sessions sharing the same nick, > >> user A will only see this nick once in the list of presences sent when > >> they join. But if user B leaves the room in only one of their > >> sessions, that unavailable presence is still broadcast to the room and > >> A sees it. Is there a way in this case for A to know that B is still > >> in the room (but only from one session, now)? > > > > Multi-session, as currently specced, works transparently - you don't > > know that there are multiple sessions associated with someone else's > > nick, and you don't see them leave the room until their last session > > leaves. > > > > /K > > _______________________________________________ > > JDev mailing list > > Info: http://mail.jabber.org/mailman/listinfo/jdev > > Unsubscribe: [email protected] > > _______________________________________________ > > > ------------------------------ > > Message: 4 > Date: Fri, 8 Mar 2013 11:51:49 -0500 > From: Daniel Dormont <[email protected]> > To: [email protected], "Jabber/XMPP software development list" > <[email protected]> > Subject: Re: [jdev] MUC question on Multi-session Nick > Message-ID: > <CAGYOVV3WPNo02DpP4p19gT-TvOxSywDy+YKEGMWmfJHpDH=3...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Turned out this was my fault on the client side. When leaving a room I > was sending the presence to the room's bare JID and ignoring the nick. > A closer reread of XEP-0045 based on this thread pointed me in the > right direction :) > > dan > > On Fri, Mar 8, 2013 at 10:42 AM, Daniel Dormont > <[email protected]> wrote: > > Thanks, that's what I thought. In my current implementation (an > > admittedly slightly hacked ejabberd-2.1.10) I'm not seeing that - the > > other occupants are seeing the broadcast right away. Ok, I'll see what > > I can figure out from the code. > > > > dan > > > > On Fri, Mar 8, 2013 at 10:32 AM, Kevin Smith <[email protected]> wrote: > >> On Fri, Mar 8, 2013 at 3:30 PM, Daniel Dormont <[email protected]> > >> wrote: > >>> I have a question about the expected behavior of multi-session nicks > >>> in a semi-anonymous room. Specifically, if user A joins a room where > >>> user B is already present with two sessions sharing the same nick, > >>> user A will only see this nick once in the list of presences sent when > >>> they join. But if user B leaves the room in only one of their > >>> sessions, that unavailable presence is still broadcast to the room and > >>> A sees it. Is there a way in this case for A to know that B is still > >>> in the room (but only from one session, now)? > >> > >> Multi-session, as currently specced, works transparently - you don't > >> know that there are multiple sessions associated with someone else's > >> nick, and you don't see them leave the room until their last session > >> leaves. > >> > >> /K > >> _______________________________________________ > >> JDev mailing list > >> Info: http://mail.jabber.org/mailman/listinfo/jdev > >> Unsubscribe: [email protected] > >> _______________________________________________ > > > ------------------------------ > > _______________________________________________ > JDev mailing list > [email protected] > http://mail.jabber.org/mailman/listinfo/jdev > > > End of JDev Digest, Vol 110, Issue 2 > ************************************
-- jafrasid [email protected] -- jafrasid [email protected] _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
