Hi,

I am able to stop the propagation of the message sent to the 
non-interactive channel by adding the following work around.

<code>
Ape.registerHookCmd("send", function(params, infos) {
        // Saved channel pubid upon creation.
        if (params.pipe == lobbyPubid) {
            Ape.log("NONINTERACTIVE_CHANNEL");
            //return ["105", "NONINTERACTIVE_CHANNEL"];
            return 0;
        }
        return 1;
    });
</code>

Note: I couldn't return a custom error message.

I am still holding out hope for a more permanent/efficient solution 
supported internally by Ape.

Nathan.

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

Reply via email to