aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0215_external_service_discovery.vala
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src/module/xep/0215_external_service_discovery.vala')
-rw-r--r--xmpp-vala/src/module/xep/0215_external_service_discovery.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0215_external_service_discovery.vala b/xmpp-vala/src/module/xep/0215_external_service_discovery.vala
index 6d41a288..5bad71cd 100644
--- a/xmpp-vala/src/module/xep/0215_external_service_discovery.vala
+++ b/xmpp-vala/src/module/xep/0215_external_service_discovery.vala
@@ -26,7 +26,7 @@ namespace Xmpp.Xep.ExternalServiceDiscovery {
service.username = service_node.get_attribute("username", NS_URI);
service.password = service_node.get_attribute("password", NS_URI);
string? expires_str = service_node.get_attribute("expires", NS_URI);
- if (expires_str != null) service.expires = DateTimeProfiles.parse_string(expires_str);
+ if (expires_str != null) service.expires = DateTimeProfiles.parse_time(expires_str);
service.transport = service_node.get_attribute("transport", NS_URI);
service.name = service_node.get_attribute("name", NS_URI);