aboutsummaryrefslogtreecommitdiff
path: root/src/chat/messenger.c
diff options
context:
space:
mode:
authorJacki <jacki@thejackimonster.de>2024-01-03 16:40:40 +0100
committerJacki <jacki@thejackimonster.de>2024-01-03 16:40:40 +0100
commitecbc6b5d98276c18f319e827fd1bce6b61420909 (patch)
treea8776a3ba1c0dcb696cf4bb88446d3547890a151 /src/chat/messenger.c
parent1ef0dc0013ce7df914f7416a8936c014cbd4fb6d (diff)
downloadmessenger-gtk-ecbc6b5d98276c18f319e827fd1bce6b61420909.tar.gz
messenger-gtk-ecbc6b5d98276c18f319e827fd1bce6b61420909.zip
Fix contact info updates
Signed-off-by: Jacki <jacki@thejackimonster.de>
Diffstat (limited to 'src/chat/messenger.c')
-rw-r--r--src/chat/messenger.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/chat/messenger.c b/src/chat/messenger.c
index 0015f25..b330efd 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--2022 GNUnet e.V. 3 Copyright (C) 2021--2024 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
@@ -26,6 +26,7 @@
26 26
27#include "../contact.h" 27#include "../contact.h"
28#include "../event.h" 28#include "../event.h"
29#include <gnunet/gnunet_chat_lib.h>
29 30
30int 31int
31_chat_messenger_destroy_contacts(UNUSED void *cls, 32_chat_messenger_destroy_contacts(UNUSED void *cls,
@@ -113,10 +114,10 @@ _chat_messenger_message(void *cls,
113 case GNUNET_CHAT_KIND_UPDATE: 114 case GNUNET_CHAT_KIND_UPDATE:
114 { 115 {
115 application_call_message_event( 116 application_call_message_event(
116 app, 117 app,
117 event_update_chats, 118 event_update_chats,
118 context, 119 context,
119 message 120 message
120 ); 121 );
121 break; 122 break;
122 } 123 }
@@ -147,10 +148,10 @@ _chat_messenger_message(void *cls,
147 case GNUNET_CHAT_KIND_INVITATION: 148 case GNUNET_CHAT_KIND_INVITATION:
148 { 149 {
149 application_call_message_event( 150 application_call_message_event(
150 app, 151 app,
151 event_invitation, 152 event_invitation,
152 context, 153 context,
153 message 154 message
154 ); 155 );
155 break; 156 break;
156 } 157 }
@@ -159,10 +160,10 @@ _chat_messenger_message(void *cls,
159 case GNUNET_CHAT_KIND_WHISPER: 160 case GNUNET_CHAT_KIND_WHISPER:
160 { 161 {
161 application_call_message_event( 162 application_call_message_event(
162 app, 163 app,
163 event_receive_message, 164 event_receive_message,
164 context, 165 context,
165 message 166 message
166 ); 167 );
167 break; 168 break;
168 } 169 }