Changeset ee310eb for perl/modules/Jabber/lib/BarnOwl/Module
- Timestamp:
- Feb 3, 2008, 1:08:11 AM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 99219ed
- Parents:
- 625802a (diff), af1920fd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- perl/modules/Jabber/lib/BarnOwl/Module
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
r81312e4 ree310eb 137 137 } 138 138 139 our $showOffline = 0; 140 139 141 sub blist_listBuddy { 140 142 my $roster = shift; … … 152 154 $blistStr .= " [" . ( $rq{show} ? $rq{show} : 'online' ) . "]"; 153 155 $blistStr .= " " . $rq{status} if $rq{status}; 154 $blistStr = BarnOwl::Style::boldify($blistStr) ;156 $blistStr = BarnOwl::Style::boldify($blistStr) if $showOffline; 155 157 } 156 158 else { 157 return '' if (BarnOwl::getvar('jabber:show_offline_buddies') eq 'off');159 return '' unless $showOffline; 158 160 if ($jq{ask}) { 159 161 $blistStr .= " [pending]"; … … 198 200 199 201 sub onGetBuddyList { 202 $showOffline = BarnOwl::getvar('jabber:show_offline_buddies') eq 'on'; 200 203 my $blist = ""; 201 204 foreach my $jid ($conn->getJIDs()) { -
perl/modules/Jabber/lib/BarnOwl/Module/Jabber/Connection.pm
r892568b re0ffe77 1 1 use warnings; 2 2 use strict; 3 use utf8; 3 4 4 5 =head1 NAME
Note: See TracChangeset
for help on using the changeset viewer.