mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Removed some obsolete commands and strings
This commit is contained in:
@@ -14,10 +14,6 @@ public class FollowedStream : DbEntity
|
||||
public enum FType
|
||||
{
|
||||
Twitch = 0,
|
||||
[Obsolete("No longer supported.")]
|
||||
Smashcast = 1,
|
||||
[Obsolete("No longer supported.")]
|
||||
Mixer = 2,
|
||||
Picarto = 3,
|
||||
Youtube = 4,
|
||||
Facebook = 5,
|
||||
@@ -35,13 +31,8 @@ public class FollowedStream : DbEntity
|
||||
return HashCode.Combine(ChannelId, Username, (int) Type);
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (ReferenceEquals(null, obj)) return false;
|
||||
if (ReferenceEquals(this, obj)) return true;
|
||||
if (obj.GetType() != this.GetType()) return false;
|
||||
return Equals((FollowedStream) obj);
|
||||
}
|
||||
public override bool Equals(object obj)
|
||||
=> obj is FollowedStream fs && Equals(fs);
|
||||
|
||||
public StreamDataKey CreateKey() =>
|
||||
new StreamDataKey(Type, Username.ToLower());
|
||||
|
Reference in New Issue
Block a user