1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-10 21:03:33 +02:00

Fixed muttator for recent TBs, minimum requirements are 3.0b2pre now

This commit is contained in:
Martin Stubenschrott
2009-02-04 14:51:29 +01:00
parent 125f3057e9
commit 5f5c437ddf
3 changed files with 33 additions and 32 deletions

View File

@@ -995,12 +995,13 @@ function Mail() //{{{
// TODO: find out why, and solve the problem // TODO: find out why, and solve the problem
try try
{ {
var msgs = folder.getMessages(msgWindow); var msgs = folder.messages;
} }
catch (e) catch (e)
{ {
liberator.dump("ERROR: " + folder.prettyName + " failed to getMessages\n"); var msgs = folder.getMessages(msgWindow); // for older thunderbirds
continue; liberator.dump("WARNING: " + folder.prettyName + " failed to getMessages, trying old API");
//continue;
} }
while (msgs.hasMoreElements()) while (msgs.hasMoreElements())

View File

@@ -19,8 +19,8 @@
<em:targetApplication> <em:targetApplication>
<Description> <Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>3.0a1pre</em:minVersion> <em:minVersion>3.0b2pre</em:minVersion>
<em:maxVersion>3.0b2pre</em:maxVersion> <em:maxVersion>3.0b2</em:maxVersion>
</Description> </Description>
</em:targetApplication> </em:targetApplication>