Skip to content

Commit

Permalink
fix vala error
Browse files Browse the repository at this point in the history
  • Loading branch information
hrxi committed Nov 6, 2023
1 parent f0e800c commit 0708b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/omemo/src/protocol/bundle.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
}}

Expand Down

0 comments on commit 0708b12

Please sign in to comment.