about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-11 18:24:44 +0000
committerJames Booth <boothj5@gmail.com>2014-01-11 18:24:44 +0000
commitb5469e2e06523c4ba71a7a215041080c89bb6763 (patch)
tree8844b0d92e1c92c3598c1eef867831e91ccc703b /src/command
parentbf494b1b07654103cd0c0867e37326e618b58f4d (diff)
downloadprofani-tty-b5469e2e06523c4ba71a7a215041080c89bb6763.tar.gz
Added [OTR] and (trusted/untrusted) to titlebar for OTR sessions
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index e9e70063..525b188c 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -2330,6 +2330,8 @@ cmd_otr(gchar **args, struct cmd_help_t help)
                 char *recipient = ui_current_recipient();
                 message_send("?OTR?", recipient);
                 ui_current_set_otr(TRUE);
+                // refresh to show OTR in titlebar
+                ui_switch_win(ui_current_win_index());
             }
         }
         return TRUE;