Ignore:
Timestamp:
Sep 30, 2009, 9:32:36 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
27a1903
Parents:
b0a6ea0
git-author:
Nelson Elhage <nelhage@mit.edu> (09/18/09 12:25:26)
git-committer:
Nelson Elhage <nelhage@mit.edu> (09/30/09 21:32:36)
Message:
Zephyr completion: Convert fields to lowercase for completing.

Classes, instances, and username are case-insensitive, so canonicalize
on lower-case for storing completions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Complete/Zephyr.pm

    rfdc0c47 r9300fe5  
    4545    my $m = shift;
    4646    return unless $m->type eq 'zephyr';
    47     $classes{$m->class} = 1;
    48     $realms{$m->realm} = 1;
    49     $users{BarnOwl::Message::Zephyr::strip_realm($m->sender)} = 1;
     47    $classes{lc $m->class} = 1;
     48    $realms{lc $m->realm} = 1;
     49    $users{lc BarnOwl::Message::Zephyr::strip_realm($m->sender)} = 1;
    5050}
    5151
Note: See TracChangeset for help on using the changeset viewer.