fix: update old function call
This commit is contained in:
parent
e5576e0e67
commit
9376468d19
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public class AuthResponseMessage : BaseMessage, IMessage<AuthResponseMessage>
|
|||
if (IsSuccessful)
|
||||
{
|
||||
short sessionTokenByteLen = (short)Encoding.UTF8.GetByteCount(SessionToken!);
|
||||
stream.WriteUInt16(sessionTokenByteLen);
|
||||
stream.WriteInt16(sessionTokenByteLen);
|
||||
stream.WriteUtf8String(SessionToken!);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue