Yeah, Louis, that's the situation i'm trying to recreate, and the reason why i just can't hook a userLeft on JOIN command. Another weird thing: when i've got a user connected on two different rooms (for example, in different tabs of the browser), and i type a message in one room, it automatically is shown in the other room, too! Seems like the following lines:
var chan = Ape.getChannelByName(params.channel); if (!$defined(chan)) return ["401", "UNKNOWN_CHANNEL"]; chan.pipe.sendRaw(params.raw, params.data); in inlinepush.js are not doing their job; the 'postmsg' raw, that is the one launched when a user posts a public message, is sent to both rooms. On 7 Feb, 18:38, Louis Charette <[email protected]> wrote: > Le 2012-02-07 à 11:40, [email protected] a écrit : > > > What you could do is create a hook on the JOIN command which would fire > > userLeft in all other rooms the user is part of but the one joining > > What if the same user want to be connected to the two chat in two different > tabs? -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
