aboutsummaryrefslogtreecommitdiff
path: root/src/chat/messenger.c
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-01-16 15:30:10 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2022-01-16 15:30:10 +0100
commit03badafe00a8bf4a019dca2ccac8e8937ff59899 (patch)
treeeaa5a8ed7ac884da5a24801112a9c2d14e6262ff /src/chat/messenger.c
parente4f21c04bc978487afcabb595703e50759a92a10 (diff)
downloadmessenger-gtk-03badafe00a8bf4a019dca2ccac8e8937ff59899.tar.gz
messenger-gtk-03badafe00a8bf4a019dca2ccac8e8937ff59899.zip
Implemeneted sorting of messages to handle old messages reloading
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/chat/messenger.c')
-rw-r--r--src/chat/messenger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chat/messenger.c b/src/chat/messenger.c
index ea8b450..bea3299 100644
--- a/src/chat/messenger.c
+++ b/src/chat/messenger.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2021 GNUnet e.V. 3 Copyright (C) 2021--2022 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -28,7 +28,7 @@
28#include "../event.h" 28#include "../event.h"
29 29
30int 30int
31_chat_messenger_iterate_contacts(UNUSED void *cls, 31_chat_messenger_destroy_contacts(UNUSED void *cls,
32 UNUSED struct GNUNET_CHAT_Handle *handle, 32 UNUSED struct GNUNET_CHAT_Handle *handle,
33 struct GNUNET_CHAT_Contact *contact) 33 struct GNUNET_CHAT_Contact *contact)
34{ 34{
@@ -56,7 +56,7 @@ _chat_messenger_idle(void *cls)
56 56
57 GNUNET_CHAT_iterate_contacts( 57 GNUNET_CHAT_iterate_contacts(
58 app->chat.messenger.handle, 58 app->chat.messenger.handle,
59 _chat_messenger_iterate_contacts, 59 _chat_messenger_destroy_contacts,
60 NULL 60 NULL
61 ); 61 );
62 62