mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Closes #2421
This commit is contained in:
@@ -177,11 +177,6 @@ public sealed class ArchiHandler : ClientMsgHandler {
|
||||
ClientMsgProtobuf<CMsgClientUserNotifications> userNotifications = new(packetMsg);
|
||||
Client.PostCallback(new UserNotificationsCallback(packetMsg.TargetJobID, userNotifications.Body));
|
||||
|
||||
break;
|
||||
case EMsg.ClientVanityURLChangedNotification:
|
||||
ClientMsgProtobuf<CMsgClientVanityURLChangedNotification> vanityURLChangedNotification = new(packetMsg);
|
||||
Client.PostCallback(new VanityURLChangedCallback(packetMsg.TargetJobID, vanityURLChangedNotification.Body));
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -840,23 +835,6 @@ public sealed class ArchiHandler : ClientMsgHandler {
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed class VanityURLChangedCallback : CallbackMsg {
|
||||
internal readonly string VanityURL;
|
||||
|
||||
internal VanityURLChangedCallback(JobID jobID, CMsgClientVanityURLChangedNotification msg) {
|
||||
if (jobID == null) {
|
||||
throw new ArgumentNullException(nameof(jobID));
|
||||
}
|
||||
|
||||
if (msg == null) {
|
||||
throw new ArgumentNullException(nameof(msg));
|
||||
}
|
||||
|
||||
JobID = jobID;
|
||||
VanityURL = msg.vanity_url;
|
||||
}
|
||||
}
|
||||
|
||||
internal enum EPrivacySetting : byte {
|
||||
Unknown,
|
||||
Private,
|
||||
|
||||
Reference in New Issue
Block a user