1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 06:26:44 +02:00

display status messages in friends list

This commit is contained in:
Jfreegman
2013-09-02 00:18:20 -04:00
parent c5b9677fc0
commit 73d6fba055
3 changed files with 15 additions and 13 deletions

View File

@ -322,17 +322,17 @@ void execute(ToxWindow *self, ChatContext *ctx, Tox *m, char *cmd)
if (!strncmp(status, "online", strlen("online"))) {
status_kind = TOX_USERSTATUS_NONE;
status_text = "ONLINE";
status_text = "Online";
}
else if (!strncmp(status, "away", strlen("away"))) {
status_kind = TOX_USERSTATUS_AWAY;
status_text = "AWAY";
status_text = "Away";
}
else if (!strncmp(status, "busy", strlen("busy"))) {
status_kind = TOX_USERSTATUS_BUSY;
status_text = "BUSY";
status_text = "Busy";
}
else {