about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 622261b6..41fd31e8 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -516,6 +516,15 @@ _get_recipient_string(ProfWin *window)
         g_string_append(result, window->from);
     }
 
+    if (window->is_otr) {
+        g_string_append(result, " [OTR]");
+        if (window->is_trusted) {
+            g_string_append(result, " (trusted)");
+        } else {
+            g_string_append(result, " (untrusted)");
+        }
+    }
+
     return result;
 }