Smack/smack-extensions/src/main/java/org/jivesoftware/smackx
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
..
address Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
admin Merge branch '4.2' 2018-02-21 20:13:05 +01:00
amp Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
attention Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
blocking Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
bob Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
bookmarks Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
bytestreams Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
caps Add DiscoInfoLookupShortcutMechanism and EntityCapabilitiesChangedListener 2018-05-10 20:30:23 +02:00
chatstates Change Element.toXml() to toXml(String enclosingNamespace) 2018-04-27 10:05:25 +02:00
commands Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
delay Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
disco Add DiscoInfoLookupShortcutMechanism and EntityCapabilitiesChangedListener 2018-05-10 20:30:23 +02:00
filetransfer Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
forward Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
geoloc Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
iqlast Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
iqprivate Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
iqregister Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
iqversion Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
jingle Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
jiveproperties Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
last_interaction Change Element.toXml() to toXml(String enclosingNamespace) 2018-04-27 10:05:25 +02:00
message_correct Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
muc fix: Prevent attempt to construct invalid address 2018-06-12 10:09:55 +02:00
nick Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
offline Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
pep Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
ping Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
privacy Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
pubsub Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
receipts Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
rsm Change Element.toXml() to toXml(String enclosingNamespace) 2018-04-27 10:05:25 +02:00
search Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
sharedgroups Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
shim Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
si Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
time Rename XMPPError to StanzaError 2018-04-07 22:59:25 +02:00
vcardtemp Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
xdata Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
xdatalayout Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
xdatavalidation Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
xhtmlim Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
package-info.java Add missing package-info descriptions. 2018-02-21 16:47:11 +01:00