fix: send auth message with correct invite permissions
This commit is contained in:
parent
89012bd072
commit
600995d879
|
@ -358,7 +358,7 @@ internal class Client : IDisposable {
|
||||||
var response = await this.QueueMessageAndWait(new RequestKind.Authenticate(new AuthenticateRequest {
|
var response = await this.QueueMessageAndWait(new RequestKind.Authenticate(new AuthenticateRequest {
|
||||||
Key = key,
|
Key = key,
|
||||||
PublicKey = this.KeyPair.GetPublicKey(),
|
PublicKey = this.KeyPair.GetPublicKey(),
|
||||||
AllowInvites = true,
|
AllowInvites = this.Plugin.ConfigInfo.AllowInvites,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
var success = response switch {
|
var success = response switch {
|
||||||
|
|
Loading…
Reference in New Issue