mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fixed my own lameness.
This commit is contained in:
parent
dc67188214
commit
428526b495
@ -118,7 +118,7 @@ public class ViewedStoreBase extends ViewedFolderBase implements ViewedStore {
|
||||
public ViewedFolder getDefaultFolder() throws MessagingException {
|
||||
if (fDefaultFolder == null) {
|
||||
checkConnected();
|
||||
if (isConnected() || isLocal()) {
|
||||
if (isConnected()) {
|
||||
fDefaultFolder = new ViewedFolderBase(this, null,
|
||||
fStore.getDefaultFolder());
|
||||
|
||||
@ -166,7 +166,7 @@ public class ViewedStoreBase extends ViewedFolderBase implements ViewedStore {
|
||||
*/
|
||||
|
||||
public boolean isConnected() {
|
||||
return fConnected;
|
||||
return ((isLocal()) ? true : fConnected);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user