Changeset fbd07e9


Ignore:
Timestamp:
Mar 21, 2007, 9:26:16 PM (14 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
3066d23
Parents:
37dd88c
Message:
Fix the bug in which rejoining a MUC you're already in (nick change)
results in the MUC appearing multiple times when you show presence
info for all MUCs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/jabber.pl

    rd47d5fc rfbd07e9  
    7070    my $muc = Net::Jabber::MUC->new(connection => $self, @_);
    7171    $muc->Join(@_);
    72     push @{$self->MUCs}, $muc;
     72
     73    # Add MUC to list of MUCs, unless we're just changing nicks.
     74    push @{$self->MUCs}, $muc unless grep {$_->BaseJID eq $muc->BaseJID} $self->MUCs;
    7375}
    7476
Note: See TracChangeset for help on using the changeset viewer.