Message.createError doesn’t actually setError

Issue #127 closed
Daniel Gultsch created an issue

When calling message.create(new StanzaError(…)) (or the shorthand with the condition) it doesn't actually copy the stanza error passed as an argument to the newly created stanza and instead copies the the result of message.getError() which is usually NULL.

Comments (3)

  1. Christian Schudt repo owner

    Thanks for reporting!

    Indeed I found and fixed it already with 950f80a in master. Unfortunately I forgot about it and missed to merge it into the 0.7.x branch.

  2. Log in to comment