Changeset 867

Show
Ignore:
Timestamp:
04/29/09 16:54:32 (6 months ago)
Author:
mart
Message:

Don't rebless VCard IQs onto the special VCard IQ class, since it causes issues as described here:
http://lists.danga.com/pipermail/djabberd/2009-April/000734.html

Patch from Piers Harding.

Location:
trunk/DJabberd-VCard/lib/DJabberd/Plugin
Files:
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/DJabberd-VCard/lib/DJabberd/Plugin/VCard.pm

    r710 r867  
    33use base 'DJabberd::Plugin'; 
    44use warnings; 
    5 use DJabberd::Plugin::VCard::IQ; 
    65 
    76our $logger = DJabberd::Log->get_logger(); 
     
    3736        } 
    3837        if ($iq->signature eq 'get-{vcard-temp}vCard') { 
    39             bless $iq, $self->iq_class; 
    4038            $self->get_vcard($vh, $iq); 
    4139            $cb->stop_chain; 
    4240            return; 
    4341        } elsif ($iq->signature eq 'set-{vcard-temp}vCard') { 
    44             bless $iq, $self->iq_class; 
    4542            $self->set_vcard($vh, $iq); 
    4643            $cb->stop_chain;