Show show only this thread when thread feature activated
This commit is contained in:
parent
3abb12e6ec
commit
40276bcf28
1 changed files with 3 additions and 1 deletions
|
@ -2227,7 +2227,9 @@ public class ConversationFragment extends XmppFragment
|
||||||
MenuItem showLog = menu.findItem(R.id.show_edit_log);
|
MenuItem showLog = menu.findItem(R.id.show_edit_log);
|
||||||
MenuItem showErrorMessage = menu.findItem(R.id.show_error_message);
|
MenuItem showErrorMessage = menu.findItem(R.id.show_error_message);
|
||||||
MenuItem saveFile = menu.findItem(R.id.save_file);
|
MenuItem saveFile = menu.findItem(R.id.save_file);
|
||||||
onlyThisThread.setVisible(!conversation.getLockThread() && m.getThread() != null);
|
if (activity != null && activity.xmppConnectionService != null && activity.xmppConnectionService.getBooleanPreference("show_thread_feature", R.bool.show_thread_feature)) {
|
||||||
|
onlyThisThread.setVisible(!conversation.getLockThread() && m.getThread() != null);
|
||||||
|
}
|
||||||
final boolean unInitiatedButKnownSize = MessageUtils.unInitiatedButKnownSize(m);
|
final boolean unInitiatedButKnownSize = MessageUtils.unInitiatedButKnownSize(m);
|
||||||
final boolean showError = m.getStatus() == Message.STATUS_SEND_FAILED && m.getErrorMessage() != null && !Message.ERROR_MESSAGE_CANCELLED.equals(m.getErrorMessage());
|
final boolean showError = m.getStatus() == Message.STATUS_SEND_FAILED && m.getErrorMessage() != null && !Message.ERROR_MESSAGE_CANCELLED.equals(m.getErrorMessage());
|
||||||
final Conversational conversational = m.getConversation();
|
final Conversational conversational = m.getConversation();
|
||||||
|
|
Loading…
Add table
Reference in a new issue