mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
fix merge conflicts
This commit is contained in:
parent
abb08f11b6
commit
e023fa4472
@ -160,7 +160,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
Data.ActivityUserId = match.Groups[1].Value;
|
||||
Data.UserId = match.Groups[1].Value;
|
||||
}
|
||||
|
||||
if (entry.Contains(GameJoiningPrivateServerEntry))
|
||||
|
@ -223,7 +223,7 @@ namespace Bloxstrap.Integrations
|
||||
|
||||
if (App.Settings.Prop.AccountShownOnProfile)
|
||||
{
|
||||
var userPfpResponse = await Http.GetJson<ApiArrayResponse<ThumbnailResponse>>($"https://thumbnails.roblox.com/v1/users/avatar-headshot?userIds={activity.userId}&size=180x180&format=Png&isCircular=false"); //we can remove '-headshot' from the url if we want a full avatar picture
|
||||
var userPfpResponse = await Http.GetJson<ApiArrayResponse<ThumbnailResponse>>($"https://thumbnails.roblox.com/v1/users/avatar-headshot?userIds={activity.UserId}&size=180x180&format=Png&isCircular=false"); //we can remove '-headshot' from the url if we want a full avatar picture
|
||||
if (userPfpResponse is null || !userPfpResponse.Data.Any())
|
||||
{
|
||||
App.Logger.WriteLine(LOG_IDENT, "Could not get user thumbnail info!");
|
||||
@ -234,7 +234,7 @@ namespace Bloxstrap.Integrations
|
||||
App.Logger.WriteLine(LOG_IDENT, $"Got user thumbnail as {smallImage}");
|
||||
}
|
||||
|
||||
var userInfoResponse = await Http.GetJson<UserInfoResponse>($"https://users.roblox.com/v1/users/{activity.userId}");
|
||||
var userInfoResponse = await Http.GetJson<UserInfoResponse>($"https://users.roblox.com/v1/users/{activity.UserId}");
|
||||
if (userInfoResponse is null)
|
||||
{
|
||||
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
|
||||
@ -273,7 +273,7 @@ namespace Bloxstrap.Integrations
|
||||
Assets = new Assets
|
||||
{
|
||||
LargeImageKey = icon,
|
||||
LargeImageText = universeDetails.Name,
|
||||
LargeImageText = universeDetails.Data.Name,
|
||||
SmallImageKey = smallImage,
|
||||
SmallImageText = smallImageText
|
||||
}
|
||||
|
@ -36,6 +36,8 @@ namespace Bloxstrap.Models
|
||||
|
||||
public string MachineAddress { get; set; } = String.Empty;
|
||||
|
||||
public string UserId { get; set; } = String.Empty;
|
||||
|
||||
public bool IsTeleport { get; set; } = false;
|
||||
|
||||
public ServerType ServerType { get; set; } = ServerType.Public;
|
||||
|
Loading…
Reference in New Issue
Block a user