upd
This commit is contained in:
parent
0ba3dac47c
commit
2e9957b2c6
2
td.go
2
td.go
@ -148,7 +148,7 @@ func getHistory(c *tdlib.Client) {
|
|||||||
MsgText: msg.Content.(*tdlib.MessageText).Text.Text,
|
MsgText: msg.Content.(*tdlib.MessageText).Text.Text,
|
||||||
MsgID64: msg.ID,
|
MsgID64: msg.ID,
|
||||||
}
|
}
|
||||||
if senderUserID == ownUserID32 {
|
if msg.SenderUserID == ownUserID32 {
|
||||||
m.Direction = Outgoing
|
m.Direction = Outgoing
|
||||||
} else {
|
} else {
|
||||||
m.Direction = Incoming
|
m.Direction = Incoming
|
||||||
|
Loading…
Reference in New Issue
Block a user