about summary refs log tree commit diff stats
path: root/themes/hacker
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-05-21 12:24:03 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-05-21 12:24:03 +0200
commite41ae21bea63484645c0ef5f98e870bd80bc1c8c (patch)
treeb0ece6d7f4a9e7ca78398f9683d3f293bdb4bb35 /themes/hacker
parentfcd69532adc12a2d318fb1c96721db91911a0770 (diff)
downloadprofani-tty-e41ae21bea63484645c0ef5f98e870bd80bc1c8c.tar.gz
Fix typing notification
With d1d0ad8d1a8e28690aa8723566dd64c1ccdcf9d6 we set a timestamp to now
for all messages upon receival. Even if the original message didn't
contain any timestamp. So we can use the timestamp of retrieval for
logging and displaying and don't get them at each of those location
where they might differ.

This means that timestamp will never be NULL.

I don't see why we would want to check for the chat state only if
timestamp isn't there.

Probably because in XEP-0085 there is not timestamp defined.
So if it thats stanza it's not there and we can parse quicker, but there
is nothing forbidden it to be there.

Related to https://github.com/profanity-im/profanity/issues/1339
Diffstat (limited to 'themes/hacker')
0 files changed, 0 insertions, 0 deletions
100' href='#n100'>100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144