We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found in testing that the whole InviteDeclined class was not forming the response message correctly. The old code:
public InviteDeclined(Invite invite, string reason) : base(invite.From, invite.To, Xml.Element(xTag, MucNs.NsUser)) { XElement.Child(Xml.Element(inviteTag).Child(Xml.Element(reasonTag))); SendTo = invite.ReceivedFrom; Reason = reason; }
Should read:
public InviteDeclined (Invite invite, string reason) : base (invite.To, invite.From, Xml.Element (xTag, MucNs.NsUser)) { XElement.Child (Xml.Element (inviteTag).Child (Xml.Element (reasonTag))); SendTo = invite.SendTo; Reason = reason; }
The code was sending the decline response to the user who was doing the declining instead of the person who did the inviting.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I found in testing that the whole InviteDeclined class was not forming the response message correctly. The old code:
Should read:
The code was sending the decline response to the user who was doing the declining instead of the person who did the inviting.
The text was updated successfully, but these errors were encountered: