Ignore:
File:
1 edited

Legend:

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

    rb73ce70 re979da9  
    7070        $BarnOwl::Hooks::mainLoop->add("BarnOwl::Module::Jabber::onMainLoop");
    7171        $BarnOwl::Hooks::getBuddyList->add("BarnOwl::Module::Jabber::onGetBuddyList");
    72         $BarnOwl::Hooks::getQuickstart->add("BarnOwl::Module::Jabber::onGetQuickstart");
    7372        $vars{show} = '';
    7473        BarnOwl::new_variable_bool("jabber:show_offline_buddies",
     
    223222}
    224223
    225 sub onGetQuickstart {
    226     return <<'EOF'
    227 @b(Jabber:)
    228 Type ':jabberlogin @b(username@mit.edu)' to log in to Jabber. The command
    229 ':jroster sub @b(somebody@gmail.com)' will request that they let you message
    230 them. Once you get a message saying you are subscribed, you can message
    231 them by typing ':jwrite @b(somebody@gmail.com)' or just 'j @b(somebody)'.
    232 EOF
    233 }
    234 
    235224################################################################################
    236225### Owl Commands
     
    446435
    447436sub cmd_logout {
    448     return "You are not logged into jabber." unless ($conn->connected() > 0);
    449437    # Logged into multiple accounts
    450438    if ( $conn->connected() > 1 ) {
     
    11241112sub process_presence_subscribed {
    11251113    my ( $sid, $p ) = @_;
    1126     queue_admin_msg("ignoring:".$p->GetXML()) if BarnOwl::getvar('jabber:spew') eq 'on';
     1114    queue_admin_msg("ignoring:".$p->GetXML());
    11271115    # RFC 3921 says we should respond to this with a "subscribe"
    11281116    # but this causes a flood of sub/sub'd presence packets with
     
    11341122sub process_presence_unsubscribed {
    11351123    my ( $sid, $p ) = @_;
    1136     queue_admin_msg("ignoring:".$p->GetXML()) if BarnOwl::getvar('jabber:spew') eq 'on';
     1124    queue_admin_msg("ignoring:".$p->GetXML());
    11371125    # RFC 3921 says we should respond to this with a "subscribe"
    11381126    # but this causes a flood of unsub/unsub'd presence packets with
Note: See TracChangeset for help on using the changeset viewer.