diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-06-10 15:27:32 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-06-10 15:27:32 -0400 |
commit | efc97aa2b0d7a4d63a2e6219070919559a0cf64d (patch) | |
tree | 9bdead11af29488095fe1e16261f58055d736c5b /components/chatlist.hpp | |
parent | c73b08e341bb192936eff14ae5ba6ced18b20137 (diff) | |
download | abaddon-portaudio-efc97aa2b0d7a4d63a2e6219070919559a0cf64d.tar.gz abaddon-portaudio-efc97aa2b0d7a4d63a2e6219070919559a0cf64d.zip |
reduce db access + refactor
Diffstat (limited to 'components/chatlist.hpp')
-rw-r--r-- | components/chatlist.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/chatlist.hpp b/components/chatlist.hpp index 45dc2eb..0726cf5 100644 --- a/components/chatlist.hpp +++ b/components/chatlist.hpp @@ -13,7 +13,7 @@ public: void SetMessages(Iter begin, Iter end); template<typename Iter> void PrependMessages(Iter begin, Iter end); - void ProcessNewMessage(Snowflake id, bool prepend); + void ProcessNewMessage(const Message &data, bool prepend); void DeleteMessage(Snowflake id); void RefetchMessage(Snowflake id); Snowflake GetOldestListedMessage(); |