mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 14:11:00 +00:00
Prevent NPE
This commit is contained in:
parent
1ba8cff55b
commit
146a8cc0d9
1 changed files with 1 additions and 1 deletions
|
@ -1625,7 +1625,7 @@ public class IMAPFolder extends Folder implements UIDFolder, ResponseHandler {
|
|||
@Override
|
||||
public synchronized Flags getPermanentFlags() {
|
||||
if (permanentFlags == null)
|
||||
return null;
|
||||
return new Flags();
|
||||
return (Flags)(permanentFlags.clone());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue