diff options
author | Christian S <christian@pix-art.de> | 2015-08-18 16:23:10 +0200 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2015-08-18 16:23:10 +0200 |
commit | 81aeef7f5826bd28873ee69016aea099baa72442 (patch) | |
tree | 1aad2959668cd5b8d0e9bdf448ec3a5c91686bf9 /src/main/java/eu/siacs/conversations/ui/ConversationFragment.java | |
parent | 81b7e27a468edb37994225fa7ad3581e26f73c9d (diff) |
add subtitle to ActionBar in chatviews
* display typing information in ActionBar as subtitle for single user
chats
* display participants in ActionBar as subtitle for conferences
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConversationFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index de758efc1..648c6c4da 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -1000,9 +1000,9 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa if (conversation.getMode() == Conversation.MODE_SINGLE) { ChatState state = conversation.getIncomingChatState(); if (state == ChatState.COMPOSING) { - this.messageList.add(Message.createStatusMessage(conversation, getString(R.string.contact_is_typing, conversation.getName()))); + //this.messageList.add(Message.createStatusMessage(conversation, getString(R.string.contact_is_typing, conversation.getName()))); } else if (state == ChatState.PAUSED) { - this.messageList.add(Message.createStatusMessage(conversation, getString(R.string.contact_has_stopped_typing, conversation.getName()))); + //this.messageList.add(Message.createStatusMessage(conversation, getString(R.string.contact_has_stopped_typing, conversation.getName()))); } else { for (int i = this.messageList.size() - 1; i >= 0; --i) { if (this.messageList.get(i).getStatus() == Message.STATUS_RECEIVED) { |