From 9bf6e2c178c9b3a7dcecf7f714efbb5e7747b484 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 29 Apr 2019 13:44:31 +0800 Subject: [PATCH] fix test --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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