Ignore:
Timestamp:
Sep 24, 2008, 10:01:30 AM (16 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
dfbb131
Parents:
451db9e
Message:
Squelch chat messages with no body tag. e.g. typing notifications, etc.
File:
1 edited

Legend:

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

    rd5dcd7c r0eb4036  
    967967sub process_incoming_chat_message {
    968968    my ( $sid, $j ) = @_;
    969     BarnOwl::queue_message( j2o( $j, { direction => 'in',
    970                                    sid => $sid } ) );
     969    if ($j->DefinedBody()) {
     970        BarnOwl::queue_message( j2o( $j, { direction => 'in',
     971                                           sid => $sid } ) );
     972    }
    971973}
    972974
Note: See TracChangeset for help on using the changeset viewer.