diff options
| author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-11 21:07:35 +0200 |
|---|---|---|
| committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-11 21:07:42 +0200 |
| commit | f8041d176a10359de6456b5f2bfe394bb5ddb219 (patch) | |
| tree | 8bf2c1cedd09c3a1009d33d1ae8c17285fd94b33 /src | |
| parent | Focus to the message input bar after dragging and dropping a file (diff) | |
| download | nheko-f8041d176a10359de6456b5f2bfe394bb5ddb219.tar.xz | |
Remove old messages only when the db is full or on startup
Adds about 40ms of startup delay here, which I think is okay.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChatPage.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp |
