1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src/chatlog
Anthony Bilinski ca32e77d74
feat(history): load set number of messages from history
Fix #3124
Fix #3004

Instead of loading a set 7 days of history. Better performance when there are lots of messages, and better context when friends haven't talked in over a week.

Removed historyBaselineDate, introduced in deb8440c6a to fix duplicate messages, but duplicate messages were very likely fixed by https://github.com/qTox/qTox/pull/4607.

Also refactored history loading.
2018-05-06 15:31:54 -07:00
..
content chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
chatline.cpp chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
chatline.h chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
chatlinecontent.cpp chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
chatlinecontent.h chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
chatlinecontentproxy.cpp chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
chatlinecontentproxy.h chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
chatlog.cpp feat(history): load set number of messages from history 2018-05-06 15:31:54 -07:00
chatlog.h feat(history): load set number of messages from history 2018-05-06 15:31:54 -07:00
chatmessage.cpp chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
chatmessage.h chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
createChatMessage Added markdown preference chooser to settings which chat abides by. 2016-01-28 15:18:32 -08:00
customtextdocument.cpp chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
customtextdocument.h chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
documentcache.cpp chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
documentcache.h chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
pixmapcache.cpp chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
pixmapcache.h chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
textformatter.cpp chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
textformatter.h chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00