cburschka / cadence

A strophe.js-powered XMPP web client for chatrooms.
7 stars 2 forks source link

Context-menu ban doesn't work. #376

Closed cburschka closed 8 years ago

cburschka commented 8 years ago

Fortunately, I guess, because I just misclicked and nearly banned someone.

TypeError: arg[0] is undefined

cburschka commented 8 years ago

Some deeper issues with new JIDs and arguments.

For example, xmpp.JID.matchBare() is case-sensitive. /unban uses parseArgs even though it's a single-argument command.

cburschka commented 8 years ago

Also, command arguments are still UGLY and I hate this part of the code.