Submit a patch which add the right plugin hooks to DJabberd&#39;s core first?&nbsp; Then write your clean plugin?<br><br><div class="gmail_quote">On Fri, Jun 13, 2008 at 12:41 PM, Jacob Burkhart &lt;<a href="mailto:igotimac@gmail.com">igotimac@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<div><br></div><div>I am in the process of writing a plugin to support stream compression (<a href="http://www.xmpp.org/extensions/xep-0138.html" target="_blank">http://www.xmpp.org/extensions/xep-0138.html</a>).</div>
<div>
<br></div><div>
I can&#39;t seem to find a way to setup my plugin as the handler for a new stanza type (&lt;compress&gt;) without directly editing the list of %element2class in ClientIn.pm</div><div><br></div><div>Also, Once I receive&nbsp;this new stanza &nbsp;&#39;write&#39; and &#39;event_read&#39; need to be&nbsp;overridden&nbsp;on the active connection so that further communication is compressed.</div>

<div><br></div><div>I can easily hack this into Connection.pm and ClientIn.pm but I want to keep the changes contained within my plugin.</div><div><br></div><div>Any ideas?</div><div><br></div><div>thanks,</div><div>Jacob</div>


</blockquote></div><br>