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:
parent
49c6b45812
commit
be55b16bef
@ -2292,7 +2292,7 @@ _get_default_string(preference_t pref)
|
|||||||
return editor ? editor : "vim";
|
return editor ? editor : "vim";
|
||||||
}
|
}
|
||||||
case PREF_OUTGOING_STAMP:
|
case PREF_OUTGOING_STAMP:
|
||||||
return "me:";
|
return "me";
|
||||||
case PREF_INCOMING_STAMP:
|
case PREF_INCOMING_STAMP:
|
||||||
return NULL;
|
return NULL;
|
||||||
case PREF_URL_SAVE_CMD:
|
case PREF_URL_SAVE_CMD:
|
||||||
|
@ -1602,7 +1602,7 @@ _win_print_internal(ProfWin* window, const char* show_char, int pad_indent, GDat
|
|||||||
offset = 4;
|
offset = 4;
|
||||||
me_message = TRUE;
|
me_message = TRUE;
|
||||||
} else {
|
} else {
|
||||||
wprintw(window->layout->win, "%s ", from);
|
wprintw(window->layout->win, "%s: ", from);
|
||||||
wattroff(window->layout->win, colour);
|
wattroff(window->layout->win, colour);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user