diff options
Diffstat (limited to 'testing/toxic/chat.c')
-rw-r--r-- | testing/toxic/chat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c index ff7a1667..ee68dc9f 100644 --- a/testing/toxic/chat.c +++ b/testing/toxic/chat.c | |||
@@ -32,7 +32,7 @@ void execute(ToxWindow* self, ChatContext* ctx, char* cmd); | |||
32 | static void chat_onMessage(ToxWindow* self, int num, uint8_t* msg, uint16_t len) { | 32 | static void chat_onMessage(ToxWindow* self, int num, uint8_t* msg, uint16_t len) { |
33 | ChatContext* ctx = (ChatContext*) self->x; | 33 | ChatContext* ctx = (ChatContext*) self->x; |
34 | uint8_t nick[MAX_NAME_LENGTH] = {0}; | 34 | uint8_t nick[MAX_NAME_LENGTH] = {0}; |
35 | 35 | ||
36 | time_t now; | 36 | time_t now; |
37 | time(&now); | 37 | time(&now); |
38 | struct tm * timeinfo; | 38 | struct tm * timeinfo; |
@@ -58,6 +58,7 @@ static void chat_onMessage(ToxWindow* self, int num, uint8_t* msg, uint16_t len) | |||
58 | wprintw(ctx->history, "%s\n", msg); | 58 | wprintw(ctx->history, "%s\n", msg); |
59 | 59 | ||
60 | self->blink = true; | 60 | self->blink = true; |
61 | beep(); | ||
61 | } | 62 | } |
62 | 63 | ||
63 | static void chat_onNickChange(ToxWindow* self, int num, uint8_t* nick, uint16_t len) { | 64 | static void chat_onNickChange(ToxWindow* self, int num, uint8_t* nick, uint16_t len) { |