aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2024-05-02 23:04:34 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2024-05-02 23:04:34 +0200
commit3280b82a0f949d94f98c3ca7eecba9d153ebe4f7 (patch)
tree16b53a2482de3b6d646f420b538ac2a2060b1c00 /src
parentc204ebe592ca6dd9b423f244f8f6d46c86e03a79 (diff)
downloadgnunet-3280b82a0f949d94f98c3ca7eecba9d153ebe4f7.tar.gz
gnunet-3280b82a0f949d94f98c3ca7eecba9d153ebe4f7.zip
MESSENGER: Set room as unavailable after sending close command
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/service/messenger/messenger_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/service/messenger/messenger_api.c b/src/service/messenger/messenger_api.c
index 80cea2b65..d3ab2545f 100644
--- a/src/service/messenger/messenger_api.c
+++ b/src/service/messenger/messenger_api.c
@@ -674,7 +674,10 @@ send_message_to_room (struct GNUNET_MESSENGER_Room *room,
674 GNUNET_MQ_send (room->handle->mq, env); 674 GNUNET_MQ_send (room->handle->mq, env);
675 675
676 if (GNUNET_MESSENGER_KIND_LEAVE == message->header.kind) 676 if (GNUNET_MESSENGER_KIND_LEAVE == message->header.kind)
677 {
677 send_close_room (room->handle, room); 678 send_close_room (room->handle, room);
679 room->opened = GNUNET_NO;
680 }
678} 681}
679 682
680 683