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


#1

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/s
ourc e/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()) {

Thanks. Fixed in our repo (upstream has this fixed since 4.1).

@Damencho: I fixed some other stuff too. Up to you where you introduce the new version. I'll put the binary into Jitsi soon.

Best regards,
/Kaiduan

Ingo