mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 22:32:06 +01:00
Fixed to ensure that reason is not null. If no reason was provided then return an empty string. SMACK-165
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2432 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
aaeb476f05
commit
e50259f0ee
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ public class MUCUser implements PacketExtension {
|
|||
* @return the reason for the item child.
|
||||
*/
|
||||
public String getReason() {
|
||||
return reason;
|
||||
return reason == null ? "" : reason;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue