/FileExtraction/Java_unseen/InsightIM_Tok-Android/app/src/main/java/com/client/tok/msg/callbacks/AntoxOnUserStatusCallback.java
package com.client.tok.msg.callbacks;

import com.client.tok.bean.ContactInfo;
import com.client.tok.db.repository.InfoRepository;
import com.client.tok.tox.State;
import im.tox.tox4j.core.enums.ToxUserStatus;

public class AntoxOnUserStatusCallback {
    public void friendStatus(ContactInfo friendInfo, ToxUserStatus status) {
        InfoRepository infoRepo = State.infoRepo();
        infoRepo.updateContactStatus(friendInfo.getKey(), status);
    }
}
