mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 21:10:01 -08:00
[Server] Harden private chat history identity matching
Match both participants by account id and name so a federated user's remote id cannot collide with a local account, and stop storing foreign ids in the local chat log. Extract the paging assembly into a pure helper and cover the whole-second boundary rules with gtests.
This commit is contained in:
parent
d9852e13b4
commit
8276777496
9 changed files with 238 additions and 36 deletions
|
|
@ -10,6 +10,7 @@ set(servatrice_SOURCES
|
|||
src/forwarded_address.cpp
|
||||
src/main.cpp
|
||||
src/metrics_registry.cpp
|
||||
src/private_chat_paging.cpp
|
||||
src/ratelimiter.cpp
|
||||
src/servatrice.cpp
|
||||
src/servatrice_connection_pool.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue