Changeset 2fe7c45


Ignore:
Timestamp:
Jun 11, 2011, 3:52:24 PM (7 years ago)
Author:
Karl Ramm <xyzzy-github@1ts.org>
Branches:
master, release-1.8, release-1.9
Children:
431fcd8, 5b197f7
Parents:
83a4af3 (diff), a27acf7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merge pull request #24 from ezyang/master

Handle Jabber nicks with leading dashes (e.g. Facebook XMPP)

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Reviewed-By: Karl Ramm <kcr@1ts.org>
File:
1 edited

Legend:

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

    rb401ef2 ra27acf7  
    161161    my ($recip, $account, $subject) = @_;
    162162    if (defined $recip) {
    163         my @cmd = ('jwrite', $recip, '-a', $account);
     163        my @cmd = ('jwrite', '-a', $account);
    164164        if (defined $subject) {
    165165            push @cmd, '-s', $subject;
    166166        }
     167        push @cmd, '--', $recip;
    167168        return BarnOwl::quote(@cmd);
    168169    } else {
Note: See TracChangeset for help on using the changeset viewer.