Temporarily switch to a fork of go-tdlib
This commit is contained in:
parent
f2f20e680b
commit
d36f4449c9
4
go.mod
4
go.mod
|
@ -8,10 +8,10 @@ require (
|
|||
github.com/santhosh-tekuri/jsonschema v1.2.4
|
||||
github.com/sirupsen/logrus v1.4.2
|
||||
github.com/soheilhy/args v0.0.0-20150720134047-6bcf4c78e87e
|
||||
github.com/zelenin/go-tdlib v0.1.0
|
||||
github.com/godcong/go-tdlib v0.1.0
|
||||
gopkg.in/yaml.v2 v2.2.4
|
||||
gosrc.io/xmpp v0.5.2-0.20211214110136-5f99e1cd06e1
|
||||
)
|
||||
|
||||
replace gosrc.io/xmpp => github.com/bodqhrohro/go-xmpp v0.2.1-0.20211218153313-a8aadd78b65b
|
||||
replace github.com/zelenin/go-tdlib => github.com/godcong/go-tdlib v0.4.4-0.20211203152853-64d22ab8d4ac
|
||||
replace github.com/godcong/go-tdlib => github.com/bodqhrohro/go-tdlib v0.4.4-0.20211229000346-ee6018be8ec0
|
||||
|
|
2
go.sum
2
go.sum
|
@ -6,6 +6,8 @@ github.com/bodqhrohro/go-tdlib v0.1.2-0.20191121200156-e826071d3317 h1:+mv4FwWXl
|
|||
github.com/bodqhrohro/go-tdlib v0.1.2-0.20191121200156-e826071d3317/go.mod h1:Xs8fXbk5n7VaPyrSs9DP7QYoBScWYsjX+lUcWmx1DIU=
|
||||
github.com/bodqhrohro/go-tdlib v0.1.2-0.20191121233100-48d2382034fb h1:y5PnjdAnNVS0q8xuwjm3TxBfLriJmykQdoGiyYZB3s0=
|
||||
github.com/bodqhrohro/go-tdlib v0.1.2-0.20191121233100-48d2382034fb/go.mod h1:Xs8fXbk5n7VaPyrSs9DP7QYoBScWYsjX+lUcWmx1DIU=
|
||||
github.com/bodqhrohro/go-tdlib v0.4.4-0.20211229000346-ee6018be8ec0 h1:9ysLk2hG2q0NeNdX6StzS+4fTAG2FeZJYKKegCuB4q4=
|
||||
github.com/bodqhrohro/go-tdlib v0.4.4-0.20211229000346-ee6018be8ec0/go.mod h1:sOdXFpJ3zn6RHRc8aNVkJYALHpoplwBgMwIbRCYABIg=
|
||||
github.com/bodqhrohro/go-xmpp v0.1.4-0.20191106203535-f3b463f3b26c h1:LzcQyE+Gs+0kAbpnPAUD68FvUCieKZip44URAmH70PI=
|
||||
github.com/bodqhrohro/go-xmpp v0.1.4-0.20191106203535-f3b463f3b26c/go.mod h1:fWixaMaFvx8cxXcJVJ5kU9csMeD/JN8on7ybassU8rY=
|
||||
github.com/bodqhrohro/go-xmpp v0.2.1-0.20191105232737-9abd5be0aa1b h1:9BLd/SNO4JJZLRl1Qb1v9mNivIlHuwHDe2c8hQvBxFA=
|
||||
|
|
2
telegram/cache/cache.go
vendored
2
telegram/cache/cache.go
vendored
|
@ -3,7 +3,7 @@ package cache
|
|||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
)
|
||||
|
||||
// Status stores formatted data for XMPP presence
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"dev.narayana.im/narayana/telegabber/persistence"
|
||||
"dev.narayana.im/narayana/telegabber/telegram/cache"
|
||||
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
"gosrc.io/xmpp"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"dev.narayana.im/narayana/telegabber/xmpp/gateway"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
)
|
||||
|
||||
const notEnoughArguments string = "Not enough arguments"
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"dev.narayana.im/narayana/telegabber/xmpp/gateway"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
)
|
||||
|
||||
const chatsLimit int32 = 999
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"sort"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
)
|
||||
|
||||
// Insertion is a piece of text in given position
|
||||
|
|
|
@ -3,7 +3,7 @@ package formatter
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
)
|
||||
|
||||
func TestNoFormatting(t *testing.T) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"dev.narayana.im/narayana/telegabber/xmpp/gateway"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
)
|
||||
|
||||
func uhOh() {
|
||||
|
|
|
@ -19,7 +19,7 @@ import (
|
|||
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/soheilhy/args"
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
)
|
||||
|
||||
var errOffline = errors.New("TDlib instance is offline")
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"dev.narayana.im/narayana/telegabber/config"
|
||||
"dev.narayana.im/narayana/telegabber/persistence"
|
||||
|
||||
"github.com/zelenin/go-tdlib/client"
|
||||
"github.com/godcong/go-tdlib/client"
|
||||
)
|
||||
|
||||
const testTimeFormat string = "15:04 02/01/2006"
|
||||
|
|
Loading…
Reference in a new issue