1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
profanity/src
Michael Vetter e41ae21bea Fix typing notification
With d1d0ad8d1a 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
2020-05-21 12:24:03 +02:00
..
command Add the word 'hilight' to trigger doc 2020-05-20 14:25:40 +02:00
config Make 'scrolled' themeable 2020-05-21 09:16:18 +02:00
event MAM: Correctly display incoming MAM chat message 2020-04-11 23:56:01 +02:00
omemo Expand omemo error message 2020-02-21 10:30:09 +01:00
otr db: log all incoming and outgoing messages 2020-04-06 10:50:20 +02:00
pgp Add context to autocomplete_with_func and use it for omemo trust command 2020-01-31 10:07:08 +01:00
plugins Add to_jid field to ProfMessage struct 2020-04-11 17:11:53 +02:00
tools Only save max 20 urls 2020-05-20 10:54:58 +02:00
ui Make 'scrolled' themeable 2020-05-21 09:16:18 +02:00
xmpp Fix typing notification 2020-05-21 12:24:03 +02:00
common.c Create call_external() helper function 2020-05-20 10:54:58 +02:00
common.h Create call_external() helper function 2020-05-20 10:54:58 +02:00
database.c Escape message before adding to SQL backend 2020-04-18 10:01:40 +02:00
database.h db: Use type from message struct instead of having individual functions 2020-04-06 19:15:06 +02:00
log.c log: don't log dt 2020-04-20 15:48:01 +02:00
log.h Remove chat_log_get_previous() 2020-04-06 14:42:52 +02:00
main.c Add -t theme option 2020-03-24 23:00:39 +01:00
profanity.c Define lock in profanity.h as extern 2020-04-17 10:14:27 +02:00
profanity.h Define lock in profanity.h as extern 2020-04-17 10:14:27 +02:00