[jitsi-dev] Bug in Smack_3_2_2 where unavailable presence is not passed up to application


#1

Hi all,

I found a bug in Smack_3_2_2 where unavailable presence (member left)
message is not passed up to application (Jigasi), the code below caused the
issue,

https://github.com/jitsi/smack_3_2_2/blob/master/smack/tags/smack_3_2_2/source/org/jivesoftware/smackx/muc/MultiUserChat.java#L1983

if (mucUser != null && mucUser.getStatus() != null) {

It should be

if (mucUser != null && mucUser.getStatus() != null &&
!mucUser.getStatus().isEmpty()) {

Best regards,

/Kaiduan