mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 14:44:15 +01:00
solution people with internet by pidgeon
This commit is contained in:
parent
fe49842a9e
commit
170ab12155
2 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue