mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
xep-0308: remove replace_id from privwin signature
No `/correct` allowed in privwins
This commit is contained in:
parent
fb68d44264
commit
50271493b7
@ -405,7 +405,7 @@ cl_ev_send_priv_msg(ProfPrivateWin *privwin, const char *const msg, const char *
|
|||||||
|
|
||||||
message_send_private(privwin->fulljid, plugin_msg, oob_url);
|
message_send_private(privwin->fulljid, plugin_msg, oob_url);
|
||||||
chat_log_msg_out(jidp->barejid, plugin_msg, jidp->resourcepart);
|
chat_log_msg_out(jidp->barejid, plugin_msg, jidp->resourcepart);
|
||||||
privwin_outgoing_msg(privwin, NULL, NULL, plugin_msg);
|
privwin_outgoing_msg(privwin, plugin_msg);
|
||||||
|
|
||||||
plugins_post_priv_message_send(privwin->fulljid, plugin_msg);
|
plugins_post_priv_message_send(privwin->fulljid, plugin_msg);
|
||||||
|
|
||||||
|
@ -91,11 +91,11 @@ privwin_incoming_msg(ProfPrivateWin *privatewin, ProfMessage *message)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
privwin_outgoing_msg(ProfPrivateWin *privwin, const char *const id, const char *const replace_id, const char *const message)
|
privwin_outgoing_msg(ProfPrivateWin *privwin, const char *const message)
|
||||||
{
|
{
|
||||||
assert(privwin != NULL);
|
assert(privwin != NULL);
|
||||||
|
|
||||||
win_print_outgoing((ProfWin*)privwin, '-', id, replace_id ,"%s", message);
|
win_print_outgoing((ProfWin*)privwin, '-', NULL, NULL ,"%s", message);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -198,7 +198,7 @@ void mucwin_unset_message_char(ProfMucWin *mucwin);
|
|||||||
|
|
||||||
// MUC private chat window
|
// MUC private chat window
|
||||||
void privwin_incoming_msg(ProfPrivateWin *privatewin, ProfMessage *message);
|
void privwin_incoming_msg(ProfPrivateWin *privatewin, ProfMessage *message);
|
||||||
void privwin_outgoing_msg(ProfPrivateWin *privwin, const char *const id, const char *const replace_id, const char *const message);
|
void privwin_outgoing_msg(ProfPrivateWin *privwin, const char *const message);
|
||||||
void privwin_message_occupant_offline(ProfPrivateWin *privwin);
|
void privwin_message_occupant_offline(ProfPrivateWin *privwin);
|
||||||
|
|
||||||
void privwin_message_left_room(ProfPrivateWin *privwin);
|
void privwin_message_left_room(ProfPrivateWin *privwin);
|
||||||
|
Loading…
Reference in New Issue
Block a user