diff options
| author | Marvin W <git@larma.de> | 2026-10-04 22:02:19 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2026-10-23 17:01:43 +0200 |
| commit | 3e136fc57a2e509e5a4dd265a798b196205b0a80 (patch) | |
| tree | c8f9fc5d82bc458c27cf378bf1bf3f0fda51497b /xmpp-vala/src/module/xep/0272_muji.vala | |
| parent | 630b1368331ef0034b343bd2f00b116c8cd90391 (diff) | |
Fix more warnings
Diffstat (limited to 'xmpp-vala/src/module/xep/0272_muji.vala')
| -rw-r--r-- | xmpp-vala/src/module/xep/0272_muji.vala | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/xmpp-vala/src/module/xep/0272_muji.vala b/xmpp-vala/src/module/xep/0272_muji.vala index 7fd0da19..b287295c 100644 --- a/xmpp-vala/src/module/xep/0272_muji.vala +++ b/xmpp-vala/src/module/xep/0272_muji.vala @@ -56,9 +56,13 @@ namespace Xmpp.Xep.Muji { muji_node.put_node(content_node); } - Presence.Stanza presence_stanza = new Presence.Stanza() { to=muc_jid.with_resource(group_call.our_nick) }; - presence_stanza.stanza.put_node(muji_node); - stream.get_module(Presence.Module.IDENTITY).send_presence(stream, presence_stanza); + try { + Presence.Stanza presence_stanza = new Presence.Stanza() { to=muc_jid.with_resource(group_call.our_nick) }; + presence_stanza.stanza.put_node(muji_node); + stream.get_module(Presence.Module.IDENTITY).send_presence(stream, presence_stanza); + } catch (InvalidJidError e) { + error("Group call participant jid was invalid: %s", e.message); + } return group_call; } |
