Update contact list when presence is received

This commit is contained in:
Erwan Croze 2019-01-14 11:30:49 +01:00
parent c7f02c8898
commit 74046e62ab

View file

@ -1778,7 +1778,9 @@ public class LinphoneManager implements CoreListener, SensorEventListener, Accou
@Override
public void onNotifyPresenceReceivedForUriOrTel(Core lc, Friend lf, String uri_or_tel, PresenceModel presence_model) {
if (ContactsManager.getInstance() != null) {
ContactsManager.getInstance().fetchContactsAsync();
}
}
@Override