diff options
author | Aaron Lipinski <kris.lipinski@gmail.com> | 2013-08-14 21:16:02 +1200 |
---|---|---|
committer | Aaron Lipinski <kris.lipinski@gmail.com> | 2013-08-14 21:16:58 +1200 |
commit | 3b42f489e495748b729958b3be18954eb27e75f7 (patch) | |
tree | c752f2832a21b532e53e964d1148478b8f44c024 | |
parent | a8d1f86f8ba9b39c8f913bce99a2282d81235cc9 (diff) |
Have toxic handle new no-spam values from friend request
-rw-r--r-- | testing/toxic/prompt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index e1a7d75c..b1d6693f 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c | |||
@@ -138,6 +138,12 @@ void cmd_add(ToxWindow *self, Messenger *m, char **args) | |||
138 | case FAERR_UNKNOWN: | 138 | case FAERR_UNKNOWN: |
139 | wprintw(self->window, "Undefined error when adding friend.\n"); | 139 | wprintw(self->window, "Undefined error when adding friend.\n"); |
140 | break; | 140 | break; |
141 | case FAERR_BADCHECKSUM: | ||
142 | wprintw(self->window, "Bad checksum in address.\n"); | ||
143 | break; | ||
144 | case FAERR_SETNEWNOSPAM: | ||
145 | wprintw(self->window, "Nospam was different.\n"); | ||
146 | break; | ||
141 | default: | 147 | default: |
142 | wprintw(self->window, "Friend added as %d.\n", num); | 148 | wprintw(self->window, "Friend added as %d.\n", num); |
143 | on_friendadded(num); | 149 | on_friendadded(num); |