aboutsummaryrefslogtreecommitdiff
path: root/src/event.c
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-11-18 01:37:30 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2021-11-18 01:37:30 +0100
commit5e9ee3427898e799cebe06787b409ca770e6e1ee (patch)
tree1a75b928bc2150fc8e59af4015693b49aa11baa6 /src/event.c
parent8696f9852d5dca0e40497574158e39fde32bd530 (diff)
downloadmessenger-gtk-5e9ee3427898e799cebe06787b409ca770e6e1ee.tar.gz
messenger-gtk-5e9ee3427898e799cebe06787b409ca770e6e1ee.zip
Implemented querying contacts to visualize list of them
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/event.c')
-rw-r--r--src/event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.c b/src/event.c
index 6e585b2..a9ae35d 100644
--- a/src/event.c
+++ b/src/event.c
@@ -25,6 +25,7 @@
25#include "event.h" 25#include "event.h"
26 26
27#include "ui/chat_entry.h" 27#include "ui/chat_entry.h"
28#include "ui/contact_entry.h"
28#include "ui/message.h" 29#include "ui/message.h"
29 30
30static void 31static void
@@ -81,7 +82,7 @@ _add_new_chat_entry(MESSENGER_Application *app,
81static int 82static int
82_iterate_profile_contacts(void *cls, 83_iterate_profile_contacts(void *cls,
83 UNUSED struct GNUNET_CHAT_Handle *handle, 84 UNUSED struct GNUNET_CHAT_Handle *handle,
84 UNUSED struct GNUNET_CHAT_Contact *contact) 85 struct GNUNET_CHAT_Contact *contact)
85{ 86{
86 MESSENGER_Application *app = (MESSENGER_Application*) cls; 87 MESSENGER_Application *app = (MESSENGER_Application*) cls;
87 _add_new_chat_entry(app, GNUNET_CHAT_contact_get_context(contact)); 88 _add_new_chat_entry(app, GNUNET_CHAT_contact_get_context(contact));