about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-12-11 12:08:36 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-12-11 12:14:27 +0100
commitd5415b99a63d6c47d752e4be3a5f2caf1cf0741d (patch)
treed3f5c51c73bd30c25ce183a8c620f7f339b48d00 /src
parent46e938b638114dd979656badecb99acbdf65cd4a (diff)
downloadprofani-tty-d5415b99a63d6c47d752e4be3a5f2caf1cf0741d.tar.gz
Fix color for win_print_outgoing()
Discovered by @aba-hollerer.

Mistake was introduced in b6b7dd5ad497a71e250b8b3cef0bb987314b141d
probably due to a wrong copy/paste.

First wasn't reproducible because I had `/receipts request on` and thus
win_print_outgoing_receipts() is used which has the correct
THEME_TEXT_ME.

Fixes https://github.com/profanity-im/profanity/issues/1441
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 559676af..01625f6f 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1214,7 +1214,7 @@ win_print_outgoing(ProfWin* window, const char* show_char, const char* const id,
         _win_correct(window, message, id, replace_id, myjid);
     } else {
         //TODO my jid
-        _win_printf(window, show_char, 0, timestamp, 0, THEME_TEXT_THEM, "me", myjid, id, "%s", message);
+        _win_printf(window, show_char, 0, timestamp, 0, THEME_TEXT_ME, "me", myjid, id, "%s", message);
     }
 
     inp_nonblocking(TRUE);