aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/User/UserData.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/User/UserData.java')
-rw-r--r--app/src/main/java/User/UserData.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/src/main/java/User/UserData.java b/app/src/main/java/User/UserData.java
index 89eafb96..a3b15b0e 100644
--- a/app/src/main/java/User/UserData.java
+++ b/app/src/main/java/User/UserData.java
@@ -16,13 +16,16 @@ public class UserData extends SubscribedUserData {
private boolean isGold;
@ColumnInfo(name = "is_friend")
private boolean isFriend;
+ @ColumnInfo(name = "can_be_followed")
+ private boolean canBeFollowed;
- public UserData(@NonNull String name, String iconUrl, String banner, int karma, boolean isGold, boolean isFriend) {
+ public UserData(@NonNull String name, String iconUrl, String banner, int karma, boolean isGold, boolean isFriend, boolean canBeFollowed) {
super(name, iconUrl);
this.banner = banner;
this.karma = karma;
this.isGold = isGold;
this.isFriend = isFriend;
+ this.canBeFollowed = canBeFollowed;
}
public String getBanner() {
@@ -40,4 +43,8 @@ public class UserData extends SubscribedUserData {
public boolean isFriend() {
return isFriend;
}
+
+ public boolean isCanBeFollowed() {
+ return canBeFollowed;
+ }
}