Do not hide the command UI during an active session
Stephen Paul Weber
created
Can happen if we re-detect that the contact does not support command UI (or that
we don't know it does due to not being in roster / getting removed from roster)
but the session was opened using an in-message button or similar.
@@ -1253,6 +1253,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
}
public void hide() {
+ if (!sessions.isEmpty()) return; // Do not hide during active session
if (mPager != null) mPager.setCurrentItem(0);
if (mTabs != null) mTabs.setVisibility(View.GONE);
sessions = null;