Changeset 8278543 for perl/modules/Jabber/lib/BarnOwl/Message/Jabber.pm
- Timestamp:
- May 19, 2010, 6:55:46 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 3aa0522
- Parents:
- ebfcc87
- git-author:
- Anders Kaseorg <andersk@mit.edu> (05/19/10 15:16:52)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (05/19/10 18:55:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Message/Jabber.pm
rc854e74 r8278543 77 77 } elsif ($self->jtype eq 'groupchat') { 78 78 my $room = $self->room; 79 $filter = "jabber-room-$room"; 80 BarnOwl::command(qw[filter], $filter, 81 qw[type ^jabber$ and room], "^\Q$room\E\$"); 79 if ($inst) { 80 my $subject = $self->subject; 81 $filter = "jabber-room-$room-subject-$subject"; 82 BarnOwl::command(qw[filter], $filter, 83 qw[type ^jabber$ and room], "^\Q$room\E\$", 84 qw[and subject], "^\Q$subject\E\$"); 85 } else { 86 $filter = "jabber-room-$room"; 87 BarnOwl::command(qw[filter], $filter, 88 qw[type ^jabber$ and room], "^\Q$room\E\$"); 89 } 82 90 return $filter; 83 91 } elsif ($self->login ne 'none') {
Note: See TracChangeset
for help on using the changeset viewer.