Added missing callbacks in group info to refresh view on participant event

This commit is contained in:
Sylvain Berfini 2019-11-27 13:18:21 +01:00
parent d2b488f598
commit 7f2d427f8a

View file

@ -265,6 +265,16 @@ public class GroupInfoFragment extends Fragment {
public void onSubjectChanged(ChatRoom cr, EventLog event_log) {
mSubjectField.setText(event_log.getSubject());
}
@Override
public void onParticipantAdded(ChatRoom cr, EventLog eventLog) {
refreshParticipantsList();
}
@Override
public void onParticipantRemoved(ChatRoom cr, EventLog eventLog) {
refreshParticipantsList();
}
};
if (mChatRoom != null) {