mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-24 13:27:59 +01:00
Make sure that #getActor does not return null even if no actor was provided.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2495 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
cd3dd8eec7
commit
1d50de1107
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ public class MUCUser implements PacketExtension {
|
|||
* @return the JID of an occupant in the room that was kicked or banned.
|
||||
*/
|
||||
public String getActor() {
|
||||
return actor;
|
||||
return actor == null ? "" : actor;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue