Changeset 89b700e


Ignore:
Timestamp:
Dec 25, 2009, 6:01:33 PM (15 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
b84feab
Parents:
9f026c1
Message:
Broaden recognition of 'normal' messages

As per RFC 3921, Section 2.1.1.:

if an application  receives a message with no  'type' attribute or the
application  does not  understand the  value of  the  'type' attribute
provided, it MUST  consider the message to be  of type "normal" (i.e.,
"normal" is the default).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm

    r0cfa6ee r89b700e  
    12701270        }
    12711271    }
    1272     elsif ( $jtype eq 'normal' ) {
    1273         $props{private} = 1;
    1274     }
    12751272    elsif ( $jtype eq 'headline' ) {
    12761273    }
     
    12811278          . $props{from} . "\n"
    12821279          . $props{error};
     1280    }
     1281    else { # normal (default)
     1282        $props{private} = 1;
    12831283    }
    12841284
Note: See TracChangeset for help on using the changeset viewer.