pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] centericq: Fix Jabber plugin, make gpgme optional



On Mon, 19 Feb 2007, Jonathan Schleifer wrote:

This patch makes gpgme an optional in centericq.

Sounds good - I was going to do that myself.

Additionally, this removes a deprecated request from the Jabber plugin
so that it works with ejabberd servers.

--- src/hooks/jabberhook.cc.orig        2007-02-19 15:08:26.000000000 +0100
+++ src/hooks/jabberhook.cc     2007-02-19 15:08:38.000000000 +0100
@@ -887,11 +887,6 @@
void jabberhook::gotloggedin() {
    xmlnode x;

-    x = jutil_iqnew(JPACKET__GET, NS_AGENTS);
-    xmlnode_put_attrib(x, "id", "Agent List");
-    jab_send(jc, x);
-    xmlnode_free(x);
-
    x = jutil_iqnew(JPACKET__GET, NS_ROSTER);
    xmlnode_put_attrib(x, "id", "Roster");
    jab_send(jc, x);

Please test & commit.

I'm happy to commit the option part, but could you point me at some documentation about the NS_AGENTS being deprecated? Might it be better to stop ejabberd failing when faced with such a thing?

--
Stephen



Home | Main Index | Thread Index | Old Index