void streamParser_OnStreamElement(object sender, Matrix.StanzaEventArgs e) { server.PacketManager.Enqueue(new Packet() { Session = this, Stanza = e.Stanza, State = e.State, Server = server }); }
void streamParser_OnStreamStart(object sender, Matrix.StanzaEventArgs e) { SendStreamHeader(); //Send(new Matrix.Xmpp.Tls.StartTls()); Send(BuildFeatures()); }