Added missing callbacks in group info to refresh view on participant event
This commit is contained in:
parent
d2b488f598
commit
7f2d427f8a
1 changed files with 10 additions and 0 deletions
|
@ -265,6 +265,16 @@ public class GroupInfoFragment extends Fragment {
|
||||||
public void onSubjectChanged(ChatRoom cr, EventLog event_log) {
|
public void onSubjectChanged(ChatRoom cr, EventLog event_log) {
|
||||||
mSubjectField.setText(event_log.getSubject());
|
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) {
|
if (mChatRoom != null) {
|
||||||
|
|
Loading…
Reference in a new issue