1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-04 23:55:58 +01:00
Smack/smack-extensions/src
Guus der Kinderen 03a267a925 fix: Prevent attempt to construct invalid address
When no join was properly registered, a nickname will not be defined.
In that case, attempting to construct the from address for the 'leave'
presence stanza will result in:

java.lang.IllegalArgumentException: The Resourcepart must not be null

This commit prevents that, by verifying that the nickname is non-null,
before sending that stanza.
2018-06-12 10:09:55 +02:00
..
integration-test/java/org/jivesoftware/smackx Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
main fix: Prevent attempt to construct invalid address 2018-06-12 10:09:55 +02:00
test Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00