diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index bc4b8545..fb8a5090 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c @@ -122,6 +122,11 @@ void cmd_add(ToxWindow *self, Messenger *m, char **args) } id_bin[i] = x; } + + for (i = 0; i < FRIEND_ADDRESS_SIZE; i++) { + id[i] = toupper(id[i]); + } + int num = m_addfriend(m, id_bin, (uint8_t*) msg, strlen(msg)+1); switch (num) { case FAERR_TOOLONG: