When a conversation was already open it affected the file sharing process.
This commit is contained in:
@@ -122,22 +122,6 @@ public class GroupChatActivity extends BaseChatActivity {
|
||||
startActivity(ChatMembersActivity.createIntent(this, mGroup));
|
||||
}
|
||||
|
||||
// @Override
|
||||
// protected void onNewIntent(Intent intent) {
|
||||
// boolean test = intent.getBooleanExtra("TEST_EXTRA", false);
|
||||
//
|
||||
// if(test) {
|
||||
// Group group = intent.getParcelableExtra(GROUP_ARG);
|
||||
//
|
||||
// if(group != null) {
|
||||
// finish();
|
||||
// startActivity(intent);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// super.onNewIntent(intent);
|
||||
// }
|
||||
|
||||
@Override
|
||||
protected BaseChatAdapter getAdapter() {
|
||||
return new GroupChatAdapter(mUserIdPreference.get());
|
||||
|
||||
@@ -62,22 +62,6 @@ public class SingleChatActivity extends BaseChatActivity {
|
||||
}
|
||||
}
|
||||
|
||||
// @Override
|
||||
// protected void onNewIntent(Intent intent) {
|
||||
// boolean test = intent.getBooleanExtra("TEST_EXTRA", false);
|
||||
//
|
||||
// if(test) {
|
||||
// Group group = intent.getParcelableExtra(GROUP_ARG);
|
||||
//
|
||||
// if(group != null) {
|
||||
// finish();
|
||||
// startActivity(intent);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// super.onNewIntent(intent);
|
||||
// }
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
if (!mChatPresenter.isAttached()) {
|
||||
|
||||
Reference in New Issue
Block a user