Allow to trust own device id

This commit is contained in:
Paul Fariello
2019-03-13 18:04:45 +01:40
parent 063a5d1c52
commit dbf96dcfc6
2 changed files with 11 additions and 1 deletions

View File

@@ -8049,7 +8049,8 @@ cmd_omemo_trust(ProfWin *window, const char *const command, gchar **args)
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
barejid = chatwin->barejid;
} else {
char *contact = args[2];
fingerprint = args[2];
char *contact = args[1];
barejid = roster_barejid_from_name(contact);
if (barejid == NULL) {
barejid = contact;