typo
This commit is contained in:
parent
23d3acbb37
commit
2a8fcacfb7
4
main.go
4
main.go
@ -134,7 +134,7 @@ func ListenCW(c *tdlib.Client) {
|
||||
mType := updateMsg.Message.Content.GetMessageContentEnum()
|
||||
if mType == "messageText" {
|
||||
user, err := c.GetUser(senderUserID)
|
||||
if err != nil {
|
||||
if err != nil {
|
||||
fmt.Println("ListenCW:", err.Error())
|
||||
continue
|
||||
}
|
||||
@ -146,7 +146,7 @@ func ListenCW(c *tdlib.Client) {
|
||||
}
|
||||
if senderUserID == ownUserID64 {
|
||||
m.Direction = Outgoing
|
||||
} else
|
||||
} else {
|
||||
m.Direction = Incoming
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user