Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Dec 12, 2024
1 parent 1efe14b commit 2c07e0f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/sasl/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ const SASLFactory = require("saslmechanisms");

const NS = "urn:ietf:params:xml:ns:xmpp-sasl";

console.log("foobar");
function getMechanismNames(features) {
console.log("lol");
return features
.getChild("mechanisms", NS)
.getChildElements()
.map((el) => {
console.log(el, typeof el);
return el.text();
});
.map((el) => el.text());
}

async function authenticate(SASL, entity, mechname, credentials) {
Expand Down

0 comments on commit 2c07e0f

Please sign in to comment.