org/sonews/mlgw/Dispatcher.java
changeset 14 efce4ec25564
parent 12 bb6990c0dd1a
child 16 5a4a41cfc0a3
     1.1 --- a/org/sonews/mlgw/Dispatcher.java	Thu Aug 20 16:49:38 2009 +0200
     1.2 +++ b/org/sonews/mlgw/Dispatcher.java	Thu Aug 20 16:57:38 2009 +0200
     1.3 @@ -111,7 +111,7 @@
     1.4        // listPost[0] is of form "<mailto:dev@openoffice.org>"
     1.5        listPost[0]  = chunkListPost(listPost[0]);
     1.6        listPostAddr = new InternetAddress(listPost[0], false);
     1.7 -      groups = StorageManager.current().getGroupsForList(listPostAddr);
     1.8 +      groups = StorageManager.current().getGroupsForList(listPostAddr.getAddress());
     1.9      }
    1.10      else if(fallback)
    1.11      {
    1.12 @@ -123,7 +123,8 @@
    1.13        {
    1.14          if(toa instanceof InternetAddress)
    1.15          {
    1.16 -          List<String> g = StorageManager.current().getGroupsForList((InternetAddress) toa);
    1.17 +          List<String> g = StorageManager.current()
    1.18 +            .getGroupsForList(((InternetAddress)toa).getAddress());
    1.19            groups.addAll(g);
    1.20          }
    1.21        }