about summary refs log tree commit diff stats
path: root/src/ui/statusbar.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-12-01 18:01:28 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-12-01 18:01:28 +0100
commit09b8802f51db9406c03cd7411bd1aae1f806d2a1 (patch)
treee762300a3b2cf8916f6210fb86771c262ee16dd7 /src/ui/statusbar.c
parentf0a719d1e1281cc2df73397934f172b03b5c2db9 (diff)
downloadprofani-tty-09b8802f51db9406c03cd7411bd1aae1f806d2a1.tar.gz
_win_print: Guard against time being null
This is encountered when biboumi is used.
Example: `/join #debian-next%irc.oftc.net@biboumi.lebihan.pl`
It seems then time can be null.

g_date_time_format() will not work in this case although time_pref will
not be "off". So let's not call g_date_time_format() in this case. But
treat it like time is set to off.

However message reflection will not work properly with biboumi.
Probably we dont get origin-id.

Fix https://github.com/profanity-im/profanity/issues/1230
Diffstat (limited to 'src/ui/statusbar.c')
0 files changed, 0 insertions, 0 deletions