Skip auto expanding duplicate messages

This commit is contained in:
M66B 2020-03-07 17:23:43 +01:00
parent 7f7809fc9e
commit ec0bad2753
1 changed files with 1 additions and 1 deletions

View File

@ -3867,7 +3867,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
boolean expand_all = prefs.getBoolean("expand_all", false); boolean expand_all = prefs.getBoolean("expand_all", false);
if (expand_all) if (expand_all)
for (TupleMessageEx message : messages) for (TupleMessageEx message : messages)
if (message != null && message.ui_seen) if (message != null && message.ui_seen && !message.duplicate)
iProperties.setExpanded(message, true); iProperties.setExpanded(message, true);
} else { } else {
if (autoCloseCount > 0 && (autoclose || onclose != null)) { if (autoCloseCount > 0 && (autoclose || onclose != null)) {