|
|
@ -992,12 +992,15 @@ public class FragmentMessages extends FragmentEx {
|
|
|
|
// Auto expand when:
|
|
|
|
// Auto expand when:
|
|
|
|
// - single, non archived/sent message
|
|
|
|
// - single, non archived/sent message
|
|
|
|
// - one unread, non archived/sent message in conversation
|
|
|
|
// - one unread, non archived/sent message in conversation
|
|
|
|
|
|
|
|
// - sole message
|
|
|
|
|
|
|
|
|
|
|
|
TupleMessageEx expand = null;
|
|
|
|
TupleMessageEx expand = null;
|
|
|
|
if (autoCount == 1)
|
|
|
|
if (autoCount == 1)
|
|
|
|
expand = single;
|
|
|
|
expand = single;
|
|
|
|
else if (unseen == 1)
|
|
|
|
else if (unseen == 1)
|
|
|
|
expand = see;
|
|
|
|
expand = see;
|
|
|
|
|
|
|
|
else if (messages.size() == 1)
|
|
|
|
|
|
|
|
expand = messages.get(0);
|
|
|
|
|
|
|
|
|
|
|
|
if (expand != null) {
|
|
|
|
if (expand != null) {
|
|
|
|
expanded.add(expand.id);
|
|
|
|
expanded.add(expand.id);
|
|
|
|