aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/ui/util.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/omemo/src/ui/util.vala')
-rw-r--r--plugins/omemo/src/ui/util.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/omemo/src/ui/util.vala b/plugins/omemo/src/ui/util.vala
index cf61ed82..0b0c4a9f 100644
--- a/plugins/omemo/src/ui/util.vala
+++ b/plugins/omemo/src/ui/util.vala
@@ -51,9 +51,8 @@ public static string fingerprint_markup(string s) {
b = (uint8) (b * factor);
}
- if (i % 32 == 0 && i != 0) markup += "\n";
markup += @"<span foreground=\"$("#%02x%02x%02x".printf(r, g, b))\">$four_chars</span>";
- if (i % 8 == 4 && i % 32 != 28) markup += " ";
+ if (i % 8 == 4) markup += " ";
}
return "<span font_family='monospace' font='8'>" + markup + "</span>";