diff options
| author | Marvin W <git@larma.de> | 2025-10-16 16:30:13 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2025-10-16 16:38:29 +0200 |
| commit | 89637bae3ccacc3712cc35cdbe6f63953e8c4c51 (patch) | |
| tree | e8e6b80326f401455737832e6c4f38a3bf48dbb7 /plugins/omemo/src/protocol | |
| parent | ed62a6689394f01b635236d548a379ad80321b93 (diff) | |
Remove invalid declaration modifiers
Fixes #1728
Diffstat (limited to 'plugins/omemo/src/protocol')
| -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"); }} |
