diff options
author | Marvin W <git@larma.de> | 2023-01-31 15:12:39 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-02-07 10:50:43 +0100 |
commit | 18321ed15ce782ff5d1f24de9f2fb459d714d125 (patch) | |
tree | baf849afe826691b351110b8899701f698692eb9 /xmpp-vala/src/module/xep/0444_reactions.vala | |
parent | 95fefaff51e5506d3f0e5fe8bced14aeb3fbe037 (diff) | |
download | dino-18321ed15ce782ff5d1f24de9f2fb459d714d125.tar.gz dino-18321ed15ce782ff5d1f24de9f2fb459d714d125.zip |
Collapse most stream releated errors into IOError
Diffstat (limited to 'xmpp-vala/src/module/xep/0444_reactions.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0444_reactions.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0444_reactions.vala b/xmpp-vala/src/module/xep/0444_reactions.vala index 6e76f1f0..877d3070 100644 --- a/xmpp-vala/src/module/xep/0444_reactions.vala +++ b/xmpp-vala/src/module/xep/0444_reactions.vala @@ -11,7 +11,7 @@ public class Module : XmppStreamModule { private ReceivedPipelineListener received_pipeline_listener = new ReceivedPipelineListener(); - public async void send_reaction(XmppStream stream, Jid jid, string stanza_type, string message_id, Gee.List<string> reactions) throws SendError { + public async void send_reaction(XmppStream stream, Jid jid, string stanza_type, string message_id, Gee.List<string> reactions) throws IOError { StanzaNode reactions_node = new StanzaNode.build("reactions", NS_URI).add_self_xmlns(); reactions_node.put_attribute("id", message_id); foreach (string reaction in reactions) { |