Ignore:
Timestamp:
Oct 7, 2008, 1:00:27 PM (16 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
293d5fa
Parents:
41bbb8a
Message:
Attempting to fix the reload-modules / jabber bug.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm

    r0eb4036 r94b4ecb5  
    8585                                    summary => 'After minutes idle, auto extended away.'
    8686                                });
     87        # Force these. Reload can screw them up.
     88        # Taken from Net::Jabber::Protocol.
     89        $Net::XMPP::Protocol::NEWOBJECT{'iq'}       = "Net::Jabber::IQ";
     90        $Net::XMPP::Protocol::NEWOBJECT{'message'}  = "Net::Jabber::Message";
     91        $Net::XMPP::Protocol::NEWOBJECT{'presence'} = "Net::Jabber::Presence";
     92        $Net::XMPP::Protocol::NEWOBJECT{'jid'}      = "Net::Jabber::JID";
    8793    } else {
    8894        # Our owl doesn't support queue_message. Unfortunately, this
Note: See TracChangeset for help on using the changeset viewer.