[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -forward stored message to client api ha

From: gnunet
Subject: [gnunet] branch master updated: -forward stored message to client api handler
Date: Fri, 19 Nov 2021 00:17:34 +0100

This is an automated email from the git hooks/post-receive script.

thejackimonster pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new cdd9c0cb7 -forward stored message to client api handler
cdd9c0cb7 is described below

commit cdd9c0cb797aa349eb3147d0db3fd1224df10c04
Author: TheJackiMonster <>
AuthorDate: Fri Nov 19 00:17:27 2021 +0100

    -forward stored message to client api handler
    Signed-off-by: TheJackiMonster <>
 src/messenger/messenger_api.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/messenger/messenger_api.c b/src/messenger/messenger_api.c
index c9b143662..81a02e858 100644
--- a/src/messenger/messenger_api.c
+++ b/src/messenger/messenger_api.c
@@ -255,8 +255,10 @@ handle_recv_message (void *cls,
     handle_room_message (room, contact, &message, hash);
+    const struct GNUNET_MESSENGER_Message *stored_message = 
get_room_message(room, hash);
     if (handle->msg_callback)
-      handle->msg_callback (handle->msg_cls, room, contact, &message, hash, 
+      handle->msg_callback (handle->msg_cls, room, contact, stored_message, 
hash, flags);
     GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "Room not found\n");

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]