diff --git a/common/src/main/java/com/yunbao/common/bean/IMLoginModel.java b/common/src/main/java/com/yunbao/common/bean/IMLoginModel.java index 5676e71fb..1e3cab7d2 100644 --- a/common/src/main/java/com/yunbao/common/bean/IMLoginModel.java +++ b/common/src/main/java/com/yunbao/common/bean/IMLoginModel.java @@ -256,7 +256,7 @@ public class IMLoginModel extends BaseModel { @SerializedName("guard_type") private String guardType = ""; @SerializedName("isAttention") - private int attention; + private int attention;//1被关注 2已关注 3互关 0没关系 @SerializedName("type") private String type; diff --git a/main/src/main/java/com/yunbao/main/activity/PDLiveConversationActivity.java b/main/src/main/java/com/yunbao/main/activity/PDLiveConversationActivity.java index e06c9c026..2513648a2 100644 --- a/main/src/main/java/com/yunbao/main/activity/PDLiveConversationActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/PDLiveConversationActivity.java @@ -284,7 +284,7 @@ public class PDLiveConversationActivity extends AbsActivity implements View.OnCl } showBanner(); showTag(); - if (data.getUser().getAttention() == 0) { + if (data.getUser().getAttention() <= 1) { ViewUtils.findViewById(card, R.id.follow, Button.class).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) {