/// <summary> /// Determines whether the stanza contains an error. /// </summary> /// <param name="stanza">input stanza</param> /// <returns>true if contains an error</returns> public static bool IsError(Core.Stanza stanza) { // Not every response has a namespace in it return((new MucError(stanza)).ErrorNode != null); }
public MucError(Core.Stanza stanza) : base(stanza.Data) { }