Fix call to plugins_post_chat_message_send
This commit is contained in:
@@ -128,6 +128,9 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg)
|
|||||||
free(id);
|
free(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins_post_chat_message_send(chatwin->barejid, plugin_msg);
|
||||||
|
free(plugin_msg);
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
@@ -142,6 +145,9 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg)
|
|||||||
chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_PLAIN);
|
chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_PLAIN);
|
||||||
free(id);
|
free(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins_post_chat_message_send(chatwin->barejid, plugin_msg);
|
||||||
|
free(plugin_msg);
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
@@ -160,6 +166,9 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg)
|
|||||||
chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_PLAIN);
|
chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_PLAIN);
|
||||||
free(id);
|
free(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins_post_chat_message_send(chatwin->barejid, plugin_msg);
|
||||||
|
free(plugin_msg);
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
@@ -171,12 +180,12 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg)
|
|||||||
chat_log_msg_out(chatwin->barejid, plugin_msg);
|
chat_log_msg_out(chatwin->barejid, plugin_msg);
|
||||||
chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_PLAIN);
|
chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_PLAIN);
|
||||||
free(id);
|
free(id);
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
plugins_post_chat_message_send(chatwin->barejid, plugin_msg);
|
plugins_post_chat_message_send(chatwin->barejid, plugin_msg);
|
||||||
free(plugin_msg);
|
free(plugin_msg);
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user