aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0313_message_archive_management.vala
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2019-07-22 10:41:26 +0200
committerhrxi <hrrrxi@gmail.com>2019-08-05 17:17:17 +0200
commit1be1d471222b6d3763df1ad9b9d3b631ac8185f1 (patch)
tree95afe6c43f614542a0913dfa0cb64997bdfcabf6 /xmpp-vala/src/module/xep/0313_message_archive_management.vala
parent95596e25a5cdacc7634dd2b9ca0e98599ae7d1b1 (diff)
downloaddino-1be1d471222b6d3763df1ad9b9d3b631ac8185f1.tar.gz
dino-1be1d471222b6d3763df1ad9b9d3b631ac8185f1.zip
Fix a couple of delegate copy warnigs
"warning: copying delegates is not supported"
Diffstat (limited to 'xmpp-vala/src/module/xep/0313_message_archive_management.vala')
-rw-r--r--xmpp-vala/src/module/xep/0313_message_archive_management.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/xep/0313_message_archive_management.vala b/xmpp-vala/src/module/xep/0313_message_archive_management.vala
index 00f8f99b..674224c9 100644
--- a/xmpp-vala/src/module/xep/0313_message_archive_management.vala
+++ b/xmpp-vala/src/module/xep/0313_message_archive_management.vala
@@ -39,7 +39,7 @@ public class Module : XmppStreamModule {
}
StanzaNode query_node = new StanzaNode.build("query", NS_VER(stream)).add_self_xmlns().put_node(data_form.get_submit_node());
Iq.Stanza iq = new Iq.Stanza.set(query_node);
- stream.get_module(Iq.Module.IDENTITY).send_iq(stream, iq, (stream, iq) => { page_through_results(stream, iq, on_finished); });
+ stream.get_module(Iq.Module.IDENTITY).send_iq(stream, iq, (stream, iq) => { page_through_results(stream, iq, (owned)on_finished); });
}
public override void attach(XmppStream stream) {
@@ -69,7 +69,7 @@ public class Module : XmppStreamModule {
)
)
);
- stream.get_module(Iq.Module.IDENTITY).send_iq(stream, paging_iq, (stream, iq) => { page_through_results(stream, iq, on_finished); });
+ stream.get_module(Iq.Module.IDENTITY).send_iq(stream, paging_iq, (stream, iq) => { page_through_results(stream, iq, (owned)on_finished); });
}
private void query_availability(XmppStream stream) {