Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Dec 26, 2024
1 parent 199fb2b commit 0b7072e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client-core/src/bind2/bind2.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function bind2({ sasl2, entity }, tag) {
);
},
(element) => {
const aid = element.root().getChildText("authorization-identifier");
const aid = element.parent.getChildText("authorization-identifier");
if (aid) entity._jid(aid);

for (const child of element.getChildElements()) {
Expand Down
1 change: 0 additions & 1 deletion packages/client/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ xmpp.on("stanza", async (stanza) => {
xmpp.on("online", async (address) => {
console.log("online as", address.toString());

// return;
// Makes itself available
await xmpp.send(xml("presence"));

Expand Down

0 comments on commit 0b7072e

Please sign in to comment.