tons of "headers" in pubsub message

I have some pubsub nodes set up. But every message I receive has hundreds of these in them:

<header name='SubID'>506D553CD0E34</header><header name='SubID'>506D554AB58D4</header><header name='SubID'>506D555EAC237</header><header name='SubID'>5079F0F29BFF8</header><header name='SubID'>5079F0F93E866</header><header name='SubID'>5079F100B7692</header><header name='SubID'>5079F1089B3D5</header><header name='SubID'>5079F11442E8E</header><header name='SubID'>5079F11B667D6</header><header name='SubID'>5079F142C2167</header><header name='SubID'>5079F14BED45D</header><header name='SubID'>5079F14E76830</header><header name='SubID'>507A023A1387D</header><header name='SubID'>507A023EDF498</header><header name='SubID'>507A02A2D4908</header><header name='SubID'>507B46B1C5E6E</header><header name='SubID'>507B488B68F</header><header name='SubID'>507B69D257CBA</header>

What are they, and can I get rid of them?

multi-subscribe

I guess what I want is to be able to disable "multi-subscribe", http://xmpp.org/extensions/xep-0060.html#subscriber-subscribe-multi

How?

Modify source code

jrewing wrote:

I guess what I want is to be able to disable "multi-subscribe", http://xmpp.org/extensions/xep-0060.html#subscriber-subscribe-multi

How?

C. Romain explained me that "multi-subscribe" is an enabled feature by default, not configurable. You can edit node_hometree.erl to delete the line that mentions that feature, recompile the file, install it and restart ejabberd.

If you don't want to modify existing modules, then copy node_hometree.erl to node_jrewing.erl proceed as explained and add that module into ejabberd.cfg

Syndicate content