Handle all TOX_FAERR codes.

This commit is contained in:
Håvard Pettersson 2014-09-17 23:09:42 +02:00
parent 78846a6bb3
commit a6ec60e3c0

View file

@ -149,6 +149,7 @@ tox_weechat_cmd_friend(void *data, struct t_gui_buffer *buffer,
break; break;
case TOX_FAERR_UNKNOWN: case TOX_FAERR_UNKNOWN:
case TOX_FAERR_SETNEWNOSPAM: case TOX_FAERR_SETNEWNOSPAM:
case TOX_FAERR_NOMESSAGE:
weechat_printf(identity->buffer, weechat_printf(identity->buffer,
"%sCould not add friend (unknown error).", "%sCould not add friend (unknown error).",
weechat_prefix("error")); weechat_prefix("error"));