diff options
author | James Booth <boothj5@gmail.com> | 2015-10-27 22:25:02 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-10-27 22:25:26 +0000 |
commit | ff9abecd509f3a1d1f857a736dda28da9e94ad69 (patch) | |
tree | 8c64e07941789b2aa5dcebcc13908af3531cbb36 /src/otr/otr.c | |
parent | 40dcd597270c375ff2d0abc36554f6436f406a03 (diff) | |
download | profani-tty-ff9abecd509f3a1d1f857a736dda28da9e94ad69.tar.gz |
Combined chatwin OTR SMP functions
Diffstat (limited to 'src/otr/otr.c')
-rw-r--r-- | src/otr/otr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c index c016501c..facfb4f7 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -577,13 +577,13 @@ otr_smp_secret(const char *const recipient, const char *secret) if (g_hash_table_contains(smp_initiators, recipient)) { otrl_message_respond_smp(user_state, &ops, NULL, context, (const unsigned char*)secret, strlen(secret)); if (chatwin) { - chatwin_otr_smp_authenticating(chatwin); + chatwin_otr_smp_event(chatwin, PROF_OTR_SMP_AUTH, NULL); } g_hash_table_remove(smp_initiators, context->username); } else { otrl_message_initiate_smp(user_state, &ops, NULL, context, (const unsigned char*)secret, strlen(secret)); if (chatwin) { - chatwin_otr_smp_authenticaton_wait(chatwin); + chatwin_otr_smp_event(chatwin, PROF_OTR_SMP_AUTH_WAIT, NULL); } } } @@ -604,7 +604,7 @@ otr_smp_question(const char *const recipient, const char *question, const char * otrl_message_initiate_smp_q(user_state, &ops, NULL, context, question, (const unsigned char*)answer, strlen(answer)); ProfChatWin *chatwin = wins_get_chat(recipient); if (chatwin) { - chatwin_otr_smp_authenticaton_wait(chatwin); + chatwin_otr_smp_event(chatwin, PROF_OTR_SMP_AUTH_WAIT, NULL); } } |