add description to user account
This commit is contained in:
@@ -133,7 +133,8 @@ namespace PocketSharp
|
||||
Followers = response.Account?.Profile?.Follower_count ?? 0,
|
||||
Follows = response.Account?.Profile?.Follow_count ?? 0,
|
||||
Avatar = avatar != null ? new Uri(avatar, UriKind.Absolute) : null,
|
||||
IsDefaultAvatar = avatar == null || avatar.Contains("pocket-profile-images.")
|
||||
IsDefaultAvatar = avatar == null || avatar.Contains("pocket-profile-images."),
|
||||
Description = response.Account?.Profile?.Description
|
||||
};
|
||||
|
||||
// save code to client
|
||||
|
||||
@@ -58,5 +58,10 @@ namespace PocketSharp.Models
|
||||
/// Follow count.
|
||||
/// </summary>
|
||||
public int Follows { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Profile text.
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,5 +43,7 @@ namespace PocketSharp.Models
|
||||
public int Follow_count { get; set; }
|
||||
|
||||
public int Follower_count { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user