about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-06-05 09:33:10 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-06-05 09:49:50 +0200
commit13675fbf06a0d0fbae2b974596a0fb513ba22340 (patch)
tree9194b150f3db163e5086d747a06f2f0f09cd72a7 /src/xmpp
parent06f5e94dd7792bba568af69822d57f8e699277b1 (diff)
downloadprofani-tty-13675fbf06a0d0fbae2b974596a0fb513ba22340.tar.gz
Only print room history for new messages upon reconnect
If re-establish a connection don't print the room history again.
In case there there happened nothing at all since we got the room
history on the last connection.
And in case there were no new messages during the time we have been
disconnected.

Instead of printing the room history again we now print 'Re-established
Connection'.

This adds a bit of overhead since we save the timestamp upon every MUC
message.

See: https://github.com/profanity-im/profanity/issues/704
Diffstat (limited to 'src/xmpp')
0 files changed, 0 insertions, 0 deletions