diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2021-11-18 01:37:30 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2021-11-18 01:37:30 +0100 |
commit | 5e9ee3427898e799cebe06787b409ca770e6e1ee (patch) | |
tree | 1a75b928bc2150fc8e59af4015693b49aa11baa6 /src/event.c | |
parent | 8696f9852d5dca0e40497574158e39fde32bd530 (diff) | |
download | messenger-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.c | 3 |
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 | ||
30 | static void | 31 | static void |
@@ -81,7 +82,7 @@ _add_new_chat_entry(MESSENGER_Application *app, | |||
81 | static int | 82 | static 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)); |