diff options
author | Marvin W <git@larma.de> | 2018-06-19 12:52:00 +0200 |
---|---|---|
committer | Samuel Hand <samuel.hand@openmailbox.org> | 2018-06-26 15:42:02 +0100 |
commit | 638d81d67ecd6c7c8be7fd67aeaf15d16486f8e9 (patch) | |
tree | ea1cf3c5f28477bc928777ea0379d2616170fd0b /plugins/omemo/src/account_settings_dialog.vala | |
parent | 2a8352c5439129798b5141ec021b3b9405840a8a (diff) | |
download | dino-638d81d67ecd6c7c8be7fd67aeaf15d16486f8e9.tar.gz dino-638d81d67ecd6c7c8be7fd67aeaf15d16486f8e9.zip |
More cleanup and database modifications
Diffstat (limited to 'plugins/omemo/src/account_settings_dialog.vala')
-rw-r--r-- | plugins/omemo/src/account_settings_dialog.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo/src/account_settings_dialog.vala b/plugins/omemo/src/account_settings_dialog.vala index f0262c31..76357dbb 100644 --- a/plugins/omemo/src/account_settings_dialog.vala +++ b/plugins/omemo/src/account_settings_dialog.vala @@ -26,7 +26,7 @@ public class AccountSettingsDialog : Gtk.Dialog { int own_id = plugin.db.identity.row_with(plugin.db.identity.account_id, account.id)[plugin.db.identity.device_id]; int i = 0; - foreach (Row row in plugin.db.identity_meta.with_address(account.bare_jid.to_string())) { + foreach (Row row in plugin.db.identity_meta.with_address(account.id, account.bare_jid.to_string())) { if (row[plugin.db.identity_meta.device_id] == own_id) continue; if (i == 0) { other_list.foreach((widget) => { widget.destroy(); }); |