diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2023-01-18 15:02:59 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-18 15:02:59 -0800 |
| commit | a251acd43adcd88388a00b7ebd7d8df0486adeba (patch) | |
| tree | 24e46c14b6b78b6038d5eaf963d5e61728053e63 /hotline/transaction_handlers.go | |
| parent | 0ac5e4e7943c4aa795b9e9300b397ce1debebbcb (diff) | |
| parent | 8ce5db7c06589e30b22e4fb7ec8fdb415f711f60 (diff) | |
Merge pull request #90 from jhalter/refactor_client_agreement_flow
Improve third party client compatability
Diffstat (limited to 'hotline/transaction_handlers.go')
| -rw-r--r-- | hotline/transaction_handlers.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hotline/transaction_handlers.go b/hotline/transaction_handlers.go index acc8fe4..d3238f4 100644 --- a/hotline/transaction_handlers.go +++ b/hotline/transaction_handlers.go @@ -933,8 +933,6 @@ func HandleGetUserNameList(cc *ClientConn, t *Transaction) (res []Transaction, e } func HandleTranAgreed(cc *ClientConn, t *Transaction) (res []Transaction, err error) { - cc.Agreed = true - if t.GetField(fieldUserName).Data != nil { if cc.Authorize(accessAnyName) { cc.UserName = t.GetField(fieldUserName).Data |