From 89637bae3ccacc3712cc35cdbe6f63953e8c4c51 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Thu, 16 Oct 2025 16:30:13 +0200 Subject: Remove invalid declaration modifiers Fixes #1728 --- plugins/omemo/src/protocol/bundle.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/omemo/src') 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"); }} -- cgit v1.3