This commit is contained in:
shoopea 2019-04-29 13:44:31 +08:00
parent 66dd0b8724
commit 9bf6e2c178

View File

@ -144,7 +144,7 @@ func ListenCW(c *tdlib.Client) {
MsgText : string(txt), MsgText : string(txt),
MsgID64 : updateMsg.Message.ID, MsgID64 : updateMsg.Message.ID,
} }
if senderUserID = ownUserID64 { if senderUserID == ownUserID64 {
m.Direction = Outgoing m.Direction = Outgoing
} else } else
n.Direction = Incoming n.Direction = Incoming