aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/entity/jid.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-20 19:27:39 +0100
committerMarvin W <git@larma.de>2017-03-23 16:48:26 +0100
commitef0483765a0fd567f25b1f0af6df04e8973e5624 (patch)
tree9288c239217496774710542b922cdd264e0838cc /libdino/src/entity/jid.vala
parentaca6842c490c52b6460b7d9ebd7cc77eec4b97ef (diff)
downloaddino-ef0483765a0fd567f25b1f0af6df04e8973e5624.tar.gz
dino-ef0483765a0fd567f25b1f0af6df04e8973e5624.zip
Small bug fixes and compatibility with Vala 0.36
Diffstat (limited to 'libdino/src/entity/jid.vala')
-rw-r--r--libdino/src/entity/jid.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/entity/jid.vala b/libdino/src/entity/jid.vala
index f1da0c00..96948ca4 100644
--- a/libdino/src/entity/jid.vala
+++ b/libdino/src/entity/jid.vala
@@ -14,12 +14,12 @@ public class Dino.Entities.Jid : Object {
string? localpart = parsed != null ? parsed.localpart : null;
string domainpart = parsed != null ? parsed.domainpart : jid;
string? resourcepart = parsed != null ? parsed.resourcepart : null;
- Jid.components(localpart, domainpart, resourcepart);
+ this.components(localpart, domainpart, resourcepart);
}
public Jid.with_resource(string bare_jid, string resource) {
Jid? parsed = Jid.parse(bare_jid);
- Jid.components(parsed.localpart, parsed.domainpart, resourcepart);
+ this.components(parsed.localpart, parsed.domainpart, resourcepart);
}
public Jid.components(string? localpart, string domainpart, string? resourcepart) {