Changeset 879e7e94
- Timestamp:
- Jan 30, 2008, 3:49:35 PM (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:
- 1b737a1
- Parents:
- cab045b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
r05f0061 r879e7e94 135 135 } 136 136 137 our $showOffline = 0; 138 137 139 sub blist_listBuddy { 138 140 my $roster = shift; … … 150 152 $blistStr .= " [" . ( $rq{show} ? $rq{show} : 'online' ) . "]"; 151 153 $blistStr .= " " . $rq{status} if $rq{status}; 152 $blistStr = BarnOwl::Style::boldify($blistStr) ;154 $blistStr = BarnOwl::Style::boldify($blistStr) if $showOffline; 153 155 } 154 156 else { 155 return '' if (BarnOwl::getvar('jabber:show_offline_buddies') eq 'off');157 return '' unless $showOffline; 156 158 if ($jq{ask}) { 157 159 $blistStr .= " [pending]"; … … 196 198 197 199 sub onGetBuddyList { 200 $showOffline = BarnOwl::getvar('jabber:show_offline_buddies') eq 'on'; 198 201 my $blist = ""; 199 202 foreach my $jid ($conn->getJIDs()) {
Note: See TracChangeset
for help on using the changeset viewer.