commit ab309ad3041edfba880ffcf51c48cf2ce347e8ab parent d78b20cbeda819ccc01bc2d89c951b3e76954270 Author: Jacki <jacki@thejackimonster.de> Date: Fri, 27 Jun 2025 22:14:38 +0200 Implement invitation intend to change its status text Diffstat:
| M | src/event.c | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/event.c b/src/event.c @@ -713,7 +713,10 @@ event_invitation(MESSENGER_Application *app, ui_message_set_contact(message, sender); - const char *invite_message = _("invited %s to a chat"); + const char *invite_message = ( + GNUNET_YES != GNUNET_CHAT_invitation_is_direct(invitation) + )? _("invited %s to a chat") : _("requested %s to chat"); + const char *recipient_name = ( (recipient) && (GNUNET_YES != GNUNET_CHAT_contact_is_owned(recipient))