fix: send auth message with correct invite permissions

This commit is contained in:
Anna 2022-07-19 18:43:52 -04:00
parent 89012bd072
commit 600995d879
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ internal class Client : IDisposable {
var response = await this.QueueMessageAndWait(new RequestKind.Authenticate(new AuthenticateRequest {
Key = key,
PublicKey = this.KeyPair.GetPublicKey(),
AllowInvites = true,
AllowInvites = this.Plugin.ConfigInfo.AllowInvites,
}));
var success = response switch {