You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go list -m github.com/gotd/td
github.com/gotd/td v0.33.3
Does this issue reproduce with the latest release?
Yes
What did you do?
Not 100% sure this is a bug but it's at least unexpected and inconsistent so leaning towards it being one. So sorry if i'm wrong!
I'm receiving message in a one to one chat via OnNewMessage dispatcher. When I send the first message the FromID is the user id of the first user (which is expected), but the response Message and all future messages from the other user, has the same FromID as the first user. So it looks like messages all come from the same user, the first one.
What version of gotd are you using?
Does this issue reproduce with the latest release?
Yes
What did you do?
Not 100% sure this is a bug but it's at least unexpected and inconsistent so leaning towards it being one. So sorry if i'm wrong!
I'm receiving message in a one to one chat via OnNewMessage dispatcher. When I send the first message the FromID is the user id of the first user (which is expected), but the response Message and all future messages from the other user, has the same FromID as the first user. So it looks like messages all come from the same user, the first one.
Here are two (abbreviated) json-encoded messages:
First:
Second:
What did you expect to see?
I expected the FromID to be the user id of the user who actually sent the message.
What did you see instead?
As you see in the above examples, both the from user id and the peer user id is the same in both messages, the id of the user who initiated the chat.
What Go version and environment are you using?
go env
OutputThe text was updated successfully, but these errors were encountered: