This commit is contained in:
Krzysztof Madejski
2019-02-13 12:35:17 +01:00
parent b90afe61a5
commit c11c52513f
2 changed files with 3 additions and 4 deletions

View File

@@ -5,8 +5,7 @@ import (
"errors"
"os"
"github.com/Baozisoftware/qrcode-terminal-go"
qrcodeTerminal "github.com/Baozisoftware/qrcode-terminal-go"
"github.com/Rhymen/go-whatsapp"
)

View File

@@ -12,7 +12,7 @@ import (
"github.com/Rhymen/go-whatsapp"
"maunium.net/go/mautrix-whatsapp/whatsapp-ext"
whatsappExt "maunium.net/go/mautrix-whatsapp/whatsapp-ext"
)
const (
@@ -124,7 +124,7 @@ func (b *Bwhatsapp) Connect() error {
_, err = b.conn.Contacts()
if err != nil {
return fmt.Errorf("Error on update of contacts: %v", err)
return fmt.Errorf("error on update of contacts: %v", err)
}
// map all the users