Commit 2bec7752 authored by Grigory Fedorov's avatar Grigory Fedorov

Fix for #455 "entered text" typing notification.

parent f48d8fa9
......@@ -63,7 +63,7 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
boolean isInputEmpty = true;
private EditText inputView;
private ChatMessageAdapter chatMessageAdapter;
private boolean skipOnTextChanges;
private boolean skipOnTextChanges = false;
private String account;
private String user;
private ImageButton sendButton;
......@@ -188,15 +188,6 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
}
});
inputView.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
if (!hasFocus) {
ChatStateManager.getInstance().onPaused(account, user);
}
}
});
inputView.addTextChangedListener(new TextWatcher() {
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment