aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacki <jacki@thejackimonster.de>2024-01-20 08:09:19 +0100
committerJacki <jacki@thejackimonster.de>2024-01-20 08:09:19 +0100
commit1d1129fb6c72cdd6902ace7a1a19dfcdf95a37ba (patch)
tree4350171806594fa0e9a31947ca1eddc0ecf3719f /include
parent0aa918a8861ad8e8260309e0e0961cfb0b1b1c26 (diff)
downloadlibgnunetchat-1d1129fb6c72cdd6902ace7a1a19dfcdf95a37ba.tar.gz
libgnunetchat-1d1129fb6c72cdd6902ace7a1a19dfcdf95a37ba.zip
Implement changes regarding a message recipient
Signed-off-by: Jacki <jacki@thejackimonster.de>
Diffstat (limited to 'include')
-rw-r--r--include/gnunet/gnunet_chat_lib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gnunet/gnunet_chat_lib.h b/include/gnunet/gnunet_chat_lib.h
index 20473dc..b8a5956 100644
--- a/include/gnunet/gnunet_chat_lib.h
+++ b/include/gnunet/gnunet_chat_lib.h
@@ -1097,6 +1097,15 @@ struct GNUNET_CHAT_Contact*
1097GNUNET_CHAT_message_get_sender (const struct GNUNET_CHAT_Message *message); 1097GNUNET_CHAT_message_get_sender (const struct GNUNET_CHAT_Message *message);
1098 1098
1099/** 1099/**
1100 * Returns the contact of the recipient from a given <i>message</i>.
1101 *
1102 * @param[in] message Message
1103 * @return Contact of the messages recipient or NULL
1104 */
1105struct GNUNET_CHAT_Contact*
1106GNUNET_CHAT_message_get_recipient (const struct GNUNET_CHAT_Message *message);
1107
1108/**
1100 * Returns #GNUNET_YES if the message was sent by the related chat handle, 1109 * Returns #GNUNET_YES if the message was sent by the related chat handle,
1101 * otherwise it returns #GNUNET_NO. 1110 * otherwise it returns #GNUNET_NO.
1102 * 1111 *