diff --git a/main.go b/main.go index 00071bf..571851b 100644 --- a/main.go +++ b/main.go @@ -144,7 +144,7 @@ func ListenCW(c *tdlib.Client) { MsgText : string(txt), MsgID64 : updateMsg.Message.ID, } - if senderUserID = ownUserID64 { + if senderUserID == ownUserID64 { m.Direction = Outgoing } else n.Direction = Incoming