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:
parent
2ea0e1e938
commit
14a81fbbbe
@ -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
|
void
|
||||||
ui_handle_recipient_error(const char *const recipient, const char *const err_msg)
|
ui_handle_recipient_error(const char *const recipient, const char *const err_msg)
|
||||||
{
|
{
|
||||||
|
@ -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_added(const char *const contact, const char *const group);
|
||||||
void ui_group_removed(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_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_recipient_error(const char *const recipient, const char *const err_msg);
|
||||||
void ui_handle_error(const char *const err_msg);
|
void ui_handle_error(const char *const err_msg);
|
||||||
void ui_clear_win_title(void);
|
void ui_clear_win_title(void);
|
||||||
|
@ -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_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)
|
void ui_handle_recipient_error(const char * const recipient, const char * const err_msg)
|
||||||
{
|
{
|
||||||
check_expected(recipient);
|
check_expected(recipient);
|
||||||
|
Loading…
Reference in New Issue
Block a user