diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2021-12-29 03:53:38 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2021-12-29 03:53:38 +0300 |
commit | d36f4449c94b942d1795ae4865b77b7fde43b35b (patch) | |
tree | c751e7bf7888c1a660b62b8df7badf841c12c2e2 /telegram | |
parent | f2f20e680bb06ebda76f67f8fae9d7ed12498c63 (diff) |
Temporarily switch to a fork of go-tdlib
Diffstat (limited to 'telegram')
-rw-r--r-- | telegram/cache/cache.go | 2 | ||||
-rw-r--r-- | telegram/client.go | 2 | ||||
-rw-r--r-- | telegram/commands.go | 2 | ||||
-rw-r--r-- | telegram/connect.go | 2 | ||||
-rw-r--r-- | telegram/formatter/formatter.go | 2 | ||||
-rw-r--r-- | telegram/formatter/formatter_test.go | 2 | ||||
-rw-r--r-- | telegram/handlers.go | 2 | ||||
-rw-r--r-- | telegram/utils.go | 2 | ||||
-rw-r--r-- | telegram/utils_test.go | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/telegram/cache/cache.go b/telegram/cache/cache.go index 3d9608d..3144ca9 100644 --- a/telegram/cache/cache.go +++ b/telegram/cache/cache.go @@ -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 diff --git a/telegram/client.go b/telegram/client.go index 07603b5..c4c97ff 100644 --- a/telegram/client.go +++ b/telegram/client.go @@ -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" ) diff --git a/telegram/commands.go b/telegram/commands.go index 58c0e17..0df64c1 100644 --- a/telegram/commands.go +++ b/telegram/commands.go @@ -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" diff --git a/telegram/connect.go b/telegram/connect.go index 701de29..9937970 100644 --- a/telegram/connect.go +++ b/telegram/connect.go @@ -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 diff --git a/telegram/formatter/formatter.go b/telegram/formatter/formatter.go index 2946a55..355d393 100644 --- a/telegram/formatter/formatter.go +++ b/telegram/formatter/formatter.go @@ -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 diff --git a/telegram/formatter/formatter_test.go b/telegram/formatter/formatter_test.go index 63337d6..5c93ea0 100644 --- a/telegram/formatter/formatter_test.go +++ b/telegram/formatter/formatter_test.go @@ -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) { diff --git a/telegram/handlers.go b/telegram/handlers.go index a897291..9b18656 100644 --- a/telegram/handlers.go +++ b/telegram/handlers.go @@ -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() { diff --git a/telegram/utils.go b/telegram/utils.go index 387ddea..865c4d4 100644 --- a/telegram/utils.go +++ b/telegram/utils.go @@ -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") diff --git a/telegram/utils_test.go b/telegram/utils_test.go index 69124fc..dc250a6 100644 --- a/telegram/utils_test.go +++ b/telegram/utils_test.go @@ -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" |