mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 09:42:17 -05:00
don't add users with null nicks to muc user list
This commit is contained in:
parent
6ad4865d96
commit
f3be0d99cc
@ -275,7 +275,7 @@ public class MucOptions {
|
||||
User user = new User();
|
||||
if (x != null) {
|
||||
Element item = x.findChild("item");
|
||||
if (item != null) {
|
||||
if (item != null && name != null) {
|
||||
user.setName(name);
|
||||
user.setAffiliation(item.getAttribute("affiliation"));
|
||||
user.setRole(item.getAttribute("role"));
|
||||
|
Loading…
Reference in New Issue
Block a user