I usually use a custom command that I call in multiPipeCreated callback. The 
delay of the ape server is only millisecond, so no real problem. And if a new 
message is sent while it's loading, you'll received it since you are on the 
channel. 

  - Louis

Envoyé de mon iPhone

> Le 2014-07-23 à 07:50, Nicolas <[email protected]> a écrit :
> 
> Hi,
> 
> I hook the JOIN command on the server.
> 
> Before return 1 (so that the normal JOIN process is done), I send the user a 
> history of all previous messages.
> 
> I notice that this history is sent after the multipipecreate (acknowledging 
> that the user has joined the server).
> 
> I would prefer to receive the history before the mutlipipecreate.
> 
> My worry is that someone will send a message on the channel between the 
> moment I join and the moment I get the history. So I will receive the new 
> message before the history.
> 
> Can this happen?
> 
> 
> -- 
> -- 
> 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/
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
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/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to