about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-25 21:16:10 +0100
committerJames Booth <boothj5@gmail.com>2015-05-25 21:16:10 +0100
commit304e08a9c0bfa27ed84dc1ff0a2e2d32b36529f8 (patch)
tree6fab69287c129d8b0dccf7987febd6963306bacd
parente5c14b9b8030c381439bfb26f609660bc08e38a8 (diff)
downloadprofani-tty-304e08a9c0bfa27ed84dc1ff0a2e2d32b36529f8.tar.gz
Added jid to OTR errors in console
-rw-r--r--src/ui/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 2c797271..e7059ef0 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -1046,7 +1046,7 @@ ui_handle_otr_error(const char * const barejid, const char * const message)
     if (chatwin) {
         win_print((ProfWin*)chatwin, '!', NULL, 0, THEME_ERROR, "", message);
     } else {
-        cons_show_error(message);
+        cons_show_error("%s - %s", barejid, message);
     }
 }