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
The properties ChatRoom and From returned incorrect values. The rewritten class should look as follows:
/// <summary>
/// Represents a group invite event in a group chat. Ref XEP-0045
/// </summary>
public class GroupInviteEventArgs : EventArgs {
/// <summary>
/// Chat room specified in the invitation.
/// </summary>
public Jid ChatRoom => Data.SendTo;
/// <summary>
/// The full invite object.
/// </summary>
public Invite Data {
get;
}
/// <summary>
/// Person who sent the invitation.
/// </summary>
public Jid From => Data.From;
/// <summary>
/// Password (if any).
/// </summary>
public string Password => Data.Password;
/// <summary>
/// Message contained in the invitation.
/// </summary>
public string Reason => Data.Reason;
/// <summary>
/// Constructs a GroupInviteEventArgs.
/// </summary>
/// <param name="invite">Group Chat Invitation.</param>
public GroupInviteEventArgs (Invite invite) {
invite.ThrowIfNull ("invite");
Data = invite;
}
}
The text was updated successfully, but these errors were encountered:
The properties ChatRoom and From returned incorrect values. The rewritten class should look as follows:
The text was updated successfully, but these errors were encountered: