Changeset a484b3e for perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
- Timestamp:
- Jul 17, 2010, 7:26:41 AM (14 years ago)
- Branches:
- release-1.6
- Children:
- 6758c74
- Parents:
- 612270d
- git-author:
- Nelson Elhage <nelhage@mit.edu> (05/20/10 19:22:20)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (07/17/10 07:26:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
rbd1532f ra484b3e 285 285 { 286 286 summary => "Send a Jabber Message", 287 usage => "jwrite <jid> [-t <thread>] [-s <subject>] [-a <account>] "287 usage => "jwrite <jid> [-t <thread>] [-s <subject>] [-a <account>] [-m <message>]" 288 288 } 289 289 ); … … 544 544 my $jwrite_thread = ""; 545 545 my $jwrite_subject = ""; 546 my $jwrite_body; 546 547 my ($to, $from); 547 548 my $jwrite_type = "chat"; … … 555 556 'subject=s' => \$jwrite_subject, 556 557 'account=s' => \$from, 557 'id=s' => \$jwrite_sid, 558 'id=s' => \$jwrite_sid, 559 'message=s' => \$jwrite_body, 558 560 ) or die("Usage: jwrite <jid> [-t <thread>] [-s <subject>] [-a <account>]\n"); 559 561 $jwrite_type = 'groupchat' if $gc; … … 595 597 type => $jwrite_type 596 598 }; 599 600 if (defined($jwrite_body)) { 601 process_owl_jwrite($jwrite_body); 602 return; 603 } 597 604 598 605 if(scalar @candidates > 1) {
Note: See TracChangeset
for help on using the changeset viewer.