Fix typing indicator input validation. (#10818)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Chat.TypingIndicator;
|
||||
|
||||
@@ -9,12 +9,10 @@ namespace Content.Shared.Chat.TypingIndicator;
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class TypingChangedEvent : EntityEventArgs
|
||||
{
|
||||
public readonly EntityUid Uid;
|
||||
public readonly bool IsTyping;
|
||||
|
||||
public TypingChangedEvent(EntityUid uid, bool isTyping)
|
||||
public TypingChangedEvent(bool isTyping)
|
||||
{
|
||||
Uid = uid;
|
||||
IsTyping = isTyping;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user