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),
MsgID64 : updateMsg.Message.ID,
}
if senderUserID = ownUserID64 {
if senderUserID == ownUserID64 {
m.Direction = Outgoing
} else
n.Direction = Incoming