diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/omemo/src/protocol/bundle.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/omemo/src/protocol/bundle.vala b/plugins/omemo/src/protocol/bundle.vala index 48f7ed0e..b7e2b9cf 100644 --- a/plugins/omemo/src/protocol/bundle.vala +++ b/plugins/omemo/src/protocol/bundle.vala @@ -12,7 +12,7 @@ public class Bundle { assert(Plugin.ensure_context()); } - public int32 signed_pre_key_id { owned get { + public int32 signed_pre_key_id { get { if (node == null) return -1; string? id = ((!)node).get_deep_attribute("signedPreKeyPublic", "signedPreKeyId"); if (id == null) return -1; @@ -69,7 +69,7 @@ public class Bundle { this.node = node; } - public int32 key_id { owned get { + public int32 key_id { get { return int.parse(node.get_attribute("preKeyId") ?? "-1"); }} |
