|
|
|
@ -1396,9 +1396,7 @@ public class FragmentMessages extends FragmentEx {
|
|
|
|
|
TupleMessageEx single = null;
|
|
|
|
|
TupleMessageEx see = null;
|
|
|
|
|
for (TupleMessageEx message : messages) {
|
|
|
|
|
if (!message.duplicate &&
|
|
|
|
|
!EntityFolder.TRASH.equals(message.folderType) &&
|
|
|
|
|
(!metered || (message.size != null && message.size < download))) {
|
|
|
|
|
if (!message.duplicate && !EntityFolder.TRASH.equals(message.folderType)) {
|
|
|
|
|
count++;
|
|
|
|
|
single = message;
|
|
|
|
|
if (!message.ui_seen) {
|
|
|
|
@ -1426,7 +1424,8 @@ public class FragmentMessages extends FragmentEx {
|
|
|
|
|
else if (messages.size() == 1)
|
|
|
|
|
expand = messages.get(0);
|
|
|
|
|
|
|
|
|
|
if (expand != null) {
|
|
|
|
|
if (expand != null &&
|
|
|
|
|
(expand.content || !metered || (expand.size != null && expand.size < download))) {
|
|
|
|
|
expanded.add(expand.id);
|
|
|
|
|
handleExpand(expand.id);
|
|
|
|
|
}
|
|
|
|
|