1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-09 13:36:44 +02:00

Modified clients to properly work with the changes

This commit is contained in:
Maxim Biro
2013-08-07 18:12:59 -04:00
parent 088e7d3e17
commit 174604a448
4 changed files with 13 additions and 17 deletions

2
chat.c
View File

@ -162,7 +162,7 @@ void execute(ToxWindow *self, ChatContext *ctx, char *cmd)
return;
}
msg++;
m_set_userstatus(USERSTATUS_KIND_RETAIN, (uint8_t*) msg, strlen(msg)+1);
m_set_statusmessage((uint8_t*) msg, strlen(msg)+1);
wprintw(ctx->history, "Status set to: %s\n", msg);
}