From 434486387d4bece34a9cae6402ac7e4e18d7f1b1 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Sat, 23 Mar 2024 13:50:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=20[=E8=81=8A=E5=A4=A9=E7=95=8C=E9=9D=A2-?= =?UTF-8?q?=E6=9C=AA=E5=85=B3=E6=B3=A8=E7=9A=84=E7=94=A8=E6=88=B7=E6=97=A0?= =?UTF-8?q?=E5=85=B3=E6=B3=A8=E6=8C=89=E9=92=AE]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/java/com/yunbao/common/bean/IMLoginModel.java | 2 +- .../com/yunbao/main/activity/PDLiveConversationActivity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {