mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-09 13:46:46 +02:00
Merge pull request #341 from stal888/userstatus-ext
An extension to user statuses.
This commit is contained in:
2
chat.c
2
chat.c
@ -162,7 +162,7 @@ void execute(ToxWindow* self, ChatContext* ctx, char* cmd)
|
||||
return;
|
||||
}
|
||||
msg++;
|
||||
m_set_userstatus((uint8_t*) msg, strlen(msg)+1);
|
||||
m_set_userstatus(USERSTATUS_KIND_RETAIN, (uint8_t*) msg, strlen(msg)+1);
|
||||
wprintw(ctx->history, "Status set to: %s\n", msg);
|
||||
}
|
||||
else if (!strncmp(cmd, "/nick ", strlen("/nick "))) {
|
||||
|
Reference in New Issue
Block a user