aboutsummaryrefslogtreecommitdiff
path: root/chat_request.h
diff options
context:
space:
mode:
authorBen Burwell <bburwell1@gmail.com>2013-05-01 19:13:57 -0400
committerBen Burwell <bburwell1@gmail.com>2013-05-01 19:13:57 -0400
commitebfcf94471a78dd48d6a5a63c0d40da3a67c2486 (patch)
tree7cb62951612ba82234fdb3dc610e12f7731318df /chat_request.h
parentc112d966e58b3b6c314cc2b87d0891d946aa235a (diff)
Sends status broadcast after changing chat flag
Diffstat (limited to 'chat_request.h')
-rw-r--r--chat_request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chat_request.h b/chat_request.h
index 38a3d7c..353fbf4 100644
--- a/chat_request.h
+++ b/chat_request.h
@@ -69,6 +69,7 @@ void send_chat_request(char * username) {
// set my in_chat flag
strcpy(in_chat, "Y");
+ status_broadcast_once();
pthread_t recv_thread;
pthread_create(&recv_thread, NULL, receive_chat_messages, NULL);