aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2022-03-16 08:33:13 -0600
committerMarvin W <git@larma.de>2022-03-16 08:41:51 -0600
commitf0ed11ec49b6c5b3a52bc666e31ff9791dee77cf (patch)
treea77da9b3eae1784a19ef7554ba4fe58635f47f25 /plugins
parentee4fbf160d9abca47faa7eb1cc4d12b8199f4194 (diff)
downloaddino-f0ed11ec49b6c5b3a52bc666e31ff9791dee77cf.tar.gz
dino-f0ed11ec49b6c5b3a52bc666e31ff9791dee77cf.zip
Fix build on Vala < 0.50 and pre-release Vala versions
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omemo/src/ui/contact_details_dialog.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/omemo/src/ui/contact_details_dialog.vala b/plugins/omemo/src/ui/contact_details_dialog.vala
index a40970d0..b4d6d8f0 100644
--- a/plugins/omemo/src/ui/contact_details_dialog.vala
+++ b/plugins/omemo/src/ui/contact_details_dialog.vala
@@ -93,8 +93,7 @@ public class ContactDetailsDialog : Gtk.Dialog {
int sid = plugin.db.identity.row_with(plugin.db.identity.account_id, account.id)[plugin.db.identity.device_id];
var iri_query = @"omemo-sid-$(sid)=$(fingerprint)";
-#if GLIB_2_66
- // glib >=2.66 only; never compiled
+#if GLIB_2_66 && VALA_0_50
string iri = GLib.Uri.join(UriFlags.NONE, "xmpp", null, null, 0, jid.to_string(), iri_query, null);
#else
var iri_path_seg = escape_for_iri_path_segment(jid.to_string());