Removed setListener(null) on ChatRoom

This commit is contained in:
Sylvain Berfini 2017-11-13 11:55:34 +01:00
parent b80d12b106
commit 9c8409de3c

View file

@ -269,14 +269,6 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
return view;
}
@Override
public void onPause() {
if (mChatRoom != null) {
mChatRoom.setListener(null);
}
super.onPause();
}
private void refreshParticipantsList() {
if (mChatRoom == null) return;
mParticipants = new ArrayList<>();