summaryrefslogtreecommitdiff
path: root/components/chatlist.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-06-10 15:27:32 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-06-10 15:27:32 -0400
commitefc97aa2b0d7a4d63a2e6219070919559a0cf64d (patch)
tree9bdead11af29488095fe1e16261f58055d736c5b /components/chatlist.hpp
parentc73b08e341bb192936eff14ae5ba6ced18b20137 (diff)
downloadabaddon-portaudio-efc97aa2b0d7a4d63a2e6219070919559a0cf64d.tar.gz
abaddon-portaudio-efc97aa2b0d7a4d63a2e6219070919559a0cf64d.zip
reduce db access + refactor
Diffstat (limited to 'components/chatlist.hpp')
-rw-r--r--components/chatlist.hpp2
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();