solution people with internet by pidgeon
This commit is contained in:
@@ -308,7 +308,7 @@ public sealed class IpcManager : DisposableMediatorSubscriberBase
|
||||
{
|
||||
if (!CheckHonorificApi()) return string.Empty;
|
||||
(string? title, bool isPrefix) = _honorificGetLocalCharacterTitle.InvokeFunc();
|
||||
return $"{(isPrefix ? 1 : 0)}{title}";
|
||||
return string.IsNullOrEmpty(title) ? string.Empty : $"{(isPrefix ? 1 : 0)}{title}";
|
||||
}
|
||||
|
||||
public async Task HonorificSetTitle(IntPtr character, string honorificData)
|
||||
|
||||
@@ -23,7 +23,7 @@ public class FileTransferOrchestrator : DisposableMediatorSubscriberBase
|
||||
_mareConfig = mareConfig;
|
||||
_serverManager = serverManager;
|
||||
_httpClient = new();
|
||||
_httpClient.Timeout = TimeSpan.FromSeconds(300);
|
||||
_httpClient.Timeout = TimeSpan.FromSeconds(3000);
|
||||
var ver = Assembly.GetExecutingAssembly().GetName().Version;
|
||||
_httpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("MareSynchronos", ver!.Major + "." + ver!.Minor + "." + ver!.Build));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user