1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Restore default behaviour for stamps

@mdosch discovered that we now don't print `:` for messages from others
anymore.

Until
https://github.com/profanity-im/profanity/pull/1663#issuecomment-1114625151
is fixed lets restore the default behaviour to always add `:` in
`_win_print_internal()`.

The result will be that a stamp set to `-->` will also look like `-->:`.
This commit is contained in:
Michael Vetter 2022-05-03 12:17:29 +02:00
parent 49c6b45812
commit be55b16bef
2 changed files with 2 additions and 2 deletions

View File

@ -2292,7 +2292,7 @@ _get_default_string(preference_t pref)
return editor ? editor : "vim";
}
case PREF_OUTGOING_STAMP:
return "me:";
return "me";
case PREF_INCOMING_STAMP:
return NULL;
case PREF_URL_SAVE_CMD:

View File

@ -1602,7 +1602,7 @@ _win_print_internal(ProfWin* window, const char* show_char, int pad_indent, GDat
offset = 4;
me_message = TRUE;
} else {
wprintw(window->layout->win, "%s ", from);
wprintw(window->layout->win, "%s: ", from);
wattroff(window->layout->win, colour);
}
}