Fix critical warnings after DTLS-SRTP calls without OMEMO verification
libdino-CRITICAL **: dino_plugins_encryption_list_entry_get_encryption_icon_name: assertion 'self != NULL' failed
This commit is contained in:
parent
76e1410c2a
commit
74ca991ddf
|
@ -150,7 +150,7 @@ public class ConversationItemSkeleton : Plugins.ConversationItemWidgetInterface,
|
|||
if (item.encryption != Encryption.NONE && item.encryption != Encryption.UNKNOWN && ci != null) {
|
||||
string? icon_name = null;
|
||||
var encryption_entry = app.plugin_registry.encryption_list_entries[item.encryption];
|
||||
icon_name = encryption_entry.get_encryption_icon_name(conversation, ci.content_item);
|
||||
if (encryption_entry != null) icon_name = encryption_entry.get_encryption_icon_name(conversation, ci.content_item);
|
||||
encryption_image.icon_name = icon_name ?? "changes-prevent-symbolic";
|
||||
encryption_image.visible = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue