|
|
@ -210,9 +210,11 @@ public class FragmentMessages extends FragmentEx {
|
|
|
|
db.beginTransaction();
|
|
|
|
db.beginTransaction();
|
|
|
|
|
|
|
|
|
|
|
|
List<EntityFolder> folders = new ArrayList<>();
|
|
|
|
List<EntityFolder> folders = new ArrayList<>();
|
|
|
|
if (fid < 0)
|
|
|
|
if (fid < 0) {
|
|
|
|
folders.addAll(db.folder().getFoldersSynchronizingUnified());
|
|
|
|
List<EntityFolder> unified = db.folder().getFoldersSynchronizingUnified();
|
|
|
|
else {
|
|
|
|
if (unified != null)
|
|
|
|
|
|
|
|
folders.addAll(unified);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
EntityFolder folder = db.folder().getFolder(fid);
|
|
|
|
EntityFolder folder = db.folder().getFolder(fid);
|
|
|
|
if (folder != null)
|
|
|
|
if (folder != null)
|
|
|
|
folders.add(folder);
|
|
|
|
folders.add(folder);
|
|
|
|