Skip to content

Commit 0f7e7f6

Browse files
committed
修改项目内,关注的筛选不了
1 parent ac31b45 commit 0f7e7f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/src/main/java/net/coding/program/project/detail/TaskListFragment.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
179179
String checkHostFilter() {
180180
String host = "";
181181
int userId = mMembers.user_id;
182+
183+
//关注,创建可以返回数据
184+
if (userId == 0 && !TextUtils.isEmpty(mMeAction) && !mMeAction.equals("owner")) {
185+
userId = MyApp.sUserObject.id;
186+
}
187+
182188
if (!TextUtils.isEmpty(mMeAction) && userId != 0) {
183189
host += String.format("%s=%s&", mMeAction, userId);
184190
}

0 commit comments

Comments
 (0)