Temporarily switch to a fork of go-tdlib

This commit is contained in:
Bohdan Horbeshko 2021-12-28 19:53:38 -05:00
parent f2f20e680b
commit d36f4449c9
11 changed files with 13 additions and 11 deletions

4
go.mod
View file

@ -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
View file

@ -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=

View file

@ -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

View file

@ -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"
)

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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) {

View file

@ -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() {

View file

@ -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")

View file

@ -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"