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

some minor fixes

This commit is contained in:
Jfreegman
2013-11-10 23:17:46 -05:00
parent bc4e089a65
commit 26d561eb77
4 changed files with 4 additions and 7 deletions

View File

@ -232,7 +232,7 @@ static void chat_onGroupInvite(ToxWindow *self, Tox *m, int friendnumber, uint8_
if (tox_getname(m, friendnumber, name) == -1)
return;
wprintw(ctx->history, "Group chat invite from %s.\n", name);
wprintw(ctx->history, "%s has invited you to a group chat.\n", name);
int ngc = get_num_groupchats();
@ -244,7 +244,7 @@ static void chat_onGroupInvite(ToxWindow *self, Tox *m, int friendnumber, uint8_
int n = add_group_request(group_pub_key, friendnumber);
if (n == -1) {
wprintw(ctx->history, "Something bad happened.\n");
wprintw(ctx->history, "Something bad happened. Discarding invite.\n");
return;
}