diff options
author | fiaxh <git@lightrise.org> | 2020-10-29 19:11:55 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-10-29 19:11:55 +0100 |
commit | dba63b14737d9415bb189235065efb80676e2b17 (patch) | |
tree | 879901cdd0b9f7c348c1c087a3b5d6fe9b8d52c5 /xmpp-vala | |
parent | b685c7ab9e9b7ee4551f49a7e50083f968f64245 (diff) | |
download | dino-dba63b14737d9415bb189235065efb80676e2b17.tar.gz dino-dba63b14737d9415bb189235065efb80676e2b17.zip |
Fix runtime critical when room has no name
Diffstat (limited to 'xmpp-vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0045_muc/module.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0045_muc/module.vala b/xmpp-vala/src/module/xep/0045_muc/module.vala index e9da6657..aef3796b 100644 --- a/xmpp-vala/src/module/xep/0045_muc/module.vala +++ b/xmpp-vala/src/module/xep/0045_muc/module.vala @@ -407,7 +407,7 @@ public class Module : XmppStreamModule { Gee.List<Feature> features = new ArrayList<Feature>(); foreach (ServiceDiscovery.Identity identity in info_result.identities) { - if (identity.category == "conference") { + if (identity.category == "conference" && identity.name != null) { stream.get_flag(Flag.IDENTITY).set_room_name(jid, identity.name); } } |