- Timestamp:
- Dec 26, 2006, 1:05:26 AM (18 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:
- 446aa2b
- Parents:
- 20eb22c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/jabber.pl
r20eb22c rcb769bb 352 352 353 353 if ( $result[0] ne 'ok' ) { 354 if ( !$vars{jlogin_havepass} && $result[0] == 401) {354 if ( !$vars{jlogin_havepass} && $result[0] eq '401' ) { 355 355 $vars{jlogin_havepass} = 1; 356 356 $conn->removeConnection($jidStr); … … 809 809 810 810 my $m = j2o( $j, { direction => 'out' } ); 811 if ( $vars{jwrite}{type} ne 'groupchat' ) { 812 813 #XXX TODO: Check for displayoutgoing. 811 if ( $vars{jwrite}{type} ne 'groupchat' && owl::getvar('displayoutgoing') eq 'on') { 814 812 owl::queue_message($m); 815 813 } … … 1013 1011 $props{replycmd} .= 1014 1012 " -a " . ( ( $dir eq 'out' ) ? $props{from} : $props{to} ); 1015 $props{ isprivate} = 1;1013 $props{private} = 1; 1016 1014 } 1017 1015 elsif ( $jtype eq 'groupchat' ) { … … 1032 1030 elsif ( $jtype eq 'normal' ) { 1033 1031 $props{replycmd} = undef; 1034 $props{ isprivate} = 1;1032 $props{private} = 1; 1035 1033 } 1036 1034 elsif ( $jtype eq 'headline' ) {
Note: See TracChangeset
for help on using the changeset viewer.