xmpp: rewrite bind request parser as a coroutine
Not sure how, this is for the case when I receive something like
<bind></bind>
with no <resource>text</resource>
inside it
xmpp: rewrite bind request parser as a coroutine
I accept the consequences of their unstability, but they are just too concise in comparison to manually defined state machines. Other parsers already use generators, so it's probably a good idea…
xmpp: rewrite bind request parser as a coroutine
[irc] used nonempty prefixed nicks in 353 reply
[irc] used nonempty prefixed nicks in 353 reply
unwrap
crashes the app here, also not needed since the constructor doesn't fail and can return just raw value without Result
[irc] used nonempty prefixed nicks in 353 reply
it was deliberately made non-pub, because I want to limit the creation of PlayerId
s to the smart constructor PlayerId::from
, which validates the format and returns the values if all is fine
[irc] used nonempty prefixed nicks in 353 reply
core
is not really a good module to put prefix-related types, since they are irc-specific.