about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
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;