diff options
author | Marvin W <git@larma.de> | 2017-04-18 17:53:25 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-04-18 20:20:41 +0200 |
commit | f95b4f4e0949eefaed871c267626e3ff84ce5ca6 (patch) | |
tree | e60469776bcf062d2db15e9968bf6dbd37fa1630 /libdino/src/entity/jid.vala | |
parent | 765c2605cd0abf2b4431051142f09e2676584222 (diff) | |
download | dino-f95b4f4e0949eefaed871c267626e3ff84ce5ca6.tar.gz dino-f95b4f4e0949eefaed871c267626e3ff84ce5ca6.zip |
xmpp-vala/core+libdino: concurrency + nullity improvements
Diffstat (limited to 'libdino/src/entity/jid.vala')
-rw-r--r-- | libdino/src/entity/jid.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/entity/jid.vala b/libdino/src/entity/jid.vala index edd3bc91..2283b466 100644 --- a/libdino/src/entity/jid.vala +++ b/libdino/src/entity/jid.vala @@ -3,7 +3,7 @@ public class Dino.Entities.Jid : Object { public string domainpart { get; set; } public string? resourcepart { get; set; } - public Jid? bare_jid { + public Jid bare_jid { owned get { return localpart != null ? new Jid(@"$localpart@$domainpart") : new Jid(domainpart); } } |