diff --git a/go.mod b/go.mod index cff8a66..02e1c52 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require go.mau.fi/util v0.0.0-20230805171708-199bf3eec776 require ( gitea.watsonlabs.net/watsonb8/fayec v0.0.3 // indirect - gitea.watsonlabs.net/watsonb8/groupme-lib v0.3.3 // indirect + gitea.watsonlabs.net/watsonb8/groupme-lib v0.3.4 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.1.1 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect diff --git a/go.sum b/go.sum index 5e96381..e525382 100644 --- a/go.sum +++ b/go.sum @@ -18,6 +18,8 @@ gitea.watsonlabs.net/watsonb8/groupme-lib v0.3.2 h1:QJLwAqYoIxhTtZIzMsjZGiLcml6N gitea.watsonlabs.net/watsonb8/groupme-lib v0.3.2/go.mod h1:htgKMGvk2QieyYT69DWnTLABFc/6ttMlIRIr6zPXNfo= gitea.watsonlabs.net/watsonb8/groupme-lib v0.3.3 h1:sBmF/10Zk0iyKs1nakHfOeB9BUoSyemCpDUEux+BpMk= gitea.watsonlabs.net/watsonb8/groupme-lib v0.3.3/go.mod h1:htgKMGvk2QieyYT69DWnTLABFc/6ttMlIRIr6zPXNfo= +gitea.watsonlabs.net/watsonb8/groupme-lib v0.3.4 h1:RnvQlgcBIyTSnrG7E311Zuy/A3avSuBYUb8lDN9sw5Q= +gitea.watsonlabs.net/watsonb8/groupme-lib v0.3.4/go.mod h1:htgKMGvk2QieyYT69DWnTLABFc/6ttMlIRIr6zPXNfo= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= diff --git a/user.go b/user.go index 4375449..7130ceb 100644 --- a/user.go +++ b/user.go @@ -269,7 +269,7 @@ func (user *User) Connect(gmClient *groupmeext.Client, pushSub *groupme.PushSubs user.GMID = myuser.ID } - user.Conn.AddFullHandler(user) + user.Conn.AddFullHandler(user, user.Token) //TODO: typing notification? return user.RestoreSession()