aboutsummaryrefslogtreecommitdiff
path: root/vala-xmpp/src/module/roster
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-10 16:02:32 +0100
committerMarvin W <git@larma.de>2017-03-10 16:09:47 +0100
commit7a1aa8c806a63cfd031c082524501e26d4a181ee (patch)
tree9d7895ce184d87e329d3ad62d8cda1d10c2596d2 /vala-xmpp/src/module/roster
parent5fc0435cc1227bf445d06a3931343020faaecd10 (diff)
downloaddino-7a1aa8c806a63cfd031c082524501e26d4a181ee.tar.gz
dino-7a1aa8c806a63cfd031c082524501e26d4a181ee.zip
Do not expose UUID lib dependency outside vala-xmpp library
Diffstat (limited to 'vala-xmpp/src/module/roster')
-rw-r--r--vala-xmpp/src/module/roster/module.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala-xmpp/src/module/roster/module.vala b/vala-xmpp/src/module/roster/module.vala
index 9fa23a55..c8b09710 100644
--- a/vala-xmpp/src/module/roster/module.vala
+++ b/vala-xmpp/src/module/roster/module.vala
@@ -95,7 +95,7 @@ namespace Xmpp.Roster {
internal override string get_id() { return ID; }
private void roster_get(XmppStream stream) {
- Flag.get_flag(stream).iq_id = UUID.generate_random_unparsed();
+ Flag.get_flag(stream).iq_id = random_uuid();
StanzaNode query_node = new StanzaNode.build("query", NS_URI).add_self_xmlns();
Iq.Stanza iq = new Iq.Stanza.get(query_node, Flag.get_flag(stream).iq_id);
Iq.Module.get_module(stream).send_iq(stream, iq, new IqResponseListenerImpl());