Changeset aa0a0b5 for perl/modules/Jabber
- Timestamp:
- May 22, 2010, 6:43:32 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 89ab5c8
- Parents:
- 5e24227
- git-author:
- Nelson Elhage <nelhage@mit.edu> (05/20/10 19:22:20)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (05/22/10 18:43:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
r5e24227 raa0a0b5 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 ); … … 539 539 my $jwrite_thread = ""; 540 540 my $jwrite_subject = ""; 541 my $jwrite_body; 541 542 my ($to, $from); 542 543 my $jwrite_type = "chat"; … … 550 551 'subject=s' => \$jwrite_subject, 551 552 'account=s' => \$from, 552 'id=s' => \$jwrite_sid, 553 'id=s' => \$jwrite_sid, 554 'message=s' => \$jwrite_body, 553 555 ) or die("Usage: jwrite <jid> [-t <thread>] [-s <subject>] [-a <account>]\n"); 554 556 $jwrite_type = 'groupchat' if $gc; … … 588 590 type => $jwrite_type 589 591 }; 592 593 if (defined($jwrite_body)) { 594 process_owl_jwrite($jwrite_body); 595 return; 596 } 590 597 591 598 if(scalar @candidates > 1) {
Note: See TracChangeset
for help on using the changeset viewer.