1
0
mirror of https://github.com/oliverbooth/VPLink synced 2024-11-22 23:58:46 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
a9400acd7b
chore: bump to 2.0.3 2024-02-14 22:40:14 +00:00
7f5be964c4
fix: null-check avatar on leave event 2024-02-14 22:40:05 +00:00
2 changed files with 5 additions and 1 deletions

View File

@ -63,6 +63,10 @@ internal sealed class AvatarService : BackgroundService, IAvatarService
private void OnVPAvatarLeft(VirtualParadiseAvatar avatar)
{
// ReSharper disable once ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract
if (avatar is null)
return;
_logger.LogInformation("{Avatar} left ({User})", avatar, avatar.User);
IBotConfiguration configuration = _configurationService.BotConfiguration;

View File

@ -9,7 +9,7 @@
<Authors>Oliver Booth</Authors>
<RepositoryUrl>https://github.com/oliverbooth/VpBridge</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<VersionPrefix>2.0.2</VersionPrefix>
<VersionPrefix>2.0.3</VersionPrefix>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">