1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Removed ui_handle_recipient_not_found

This commit is contained in:
James Booth 2015-11-02 20:46:52 +00:00
parent 2ea0e1e938
commit 14a81fbbbe
3 changed files with 0 additions and 19 deletions

View File

@ -426,18 +426,6 @@ ui_update_presence(const resource_presence_t resource_presence,
}
}
void
ui_handle_recipient_not_found(const char *const recipient, const char *const err_msg)
{
// intended recipient was invalid chat room
ProfMucWin *mucwin = wins_get_muc(recipient);
if (mucwin) {
cons_show_error("Room %s not found: %s", recipient, err_msg);
win_vprint((ProfWin*) mucwin, '!', 0, NULL, 0, THEME_ERROR, "", "Room %s not found: %s", recipient, err_msg);
return;
}
}
void
ui_handle_recipient_error(const char *const recipient, const char *const err_msg)
{

View File

@ -106,7 +106,6 @@ void ui_contact_not_in_group(const char *const contact, const char *const group)
void ui_group_added(const char *const contact, const char *const group);
void ui_group_removed(const char *const contact, const char *const group);
void ui_contact_offline(char *barejid, char *resource, char *status);
void ui_handle_recipient_not_found(const char *const recipient, const char *const err_msg);
void ui_handle_recipient_error(const char *const recipient, const char *const err_msg);
void ui_handle_error(const char *const err_msg);
void ui_clear_win_title(void);

View File

@ -243,12 +243,6 @@ void chatwin_contact_offline(ProfChatWin *chatwin, char *resource, char *status)
void ui_contact_offline(char *barejid, char *resource, char *status) {}
void ui_handle_recipient_not_found(const char * const recipient, const char * const err_msg)
{
check_expected(recipient);
check_expected(err_msg);
}
void ui_handle_recipient_error(const char * const recipient, const char * const err_msg)
{
check_expected(recipient);