fix/plugin-post-display-incoming-only #132
@@ -399,8 +399,6 @@ chatwin_outgoing_msg(ProfChatWin* chatwin, const char* const message, const char
|
|||||||
win_print_outgoing((ProfWin*)chatwin, enc_char, id, replace_id, display_message);
|
win_print_outgoing((ProfWin*)chatwin, enc_char, id, replace_id, display_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins_post_chat_message_display(myjid->barejid, myjid->resourcepart, display_message);
|
|
||||||
|
|
||||||
// Save last id and message for LMC
|
// Save last id and message for LMC
|
||||||
// Note: if the same message is to be corrected several times, the id of the original message is used in each case
|
// Note: if the same message is to be corrected several times, the id of the original message is used in each case
|
||||||
// https://xmpp.org/extensions/xep-0308.html#rules
|
// https://xmpp.org/extensions/xep-0308.html#rules
|
||||||
@@ -434,7 +432,6 @@ chatwin_outgoing_carbon(ProfChatWin* chatwin, ProfMessage* message)
|
|||||||
|
|
||||||
win_print_outgoing(window, enc_char, message->id, message->replace_id, message->plain);
|
win_print_outgoing(window, enc_char, message->id, message->replace_id, message->plain);
|
||||||
|
|
||||||
plugins_post_chat_message_display(message->from_jid->barejid, message->from_jid->resourcepart, message->plain);
|
|
||||||
message->plain = old_plain;
|
message->plain = old_plain;
|
||||||
|
|
||||||
int num = wins_get_num(window);
|
int num = wins_get_num(window);
|
||||||
@@ -561,7 +558,6 @@ _chatwin_history(ProfChatWin* chatwin, const char* const contact_barejid)
|
|||||||
if (plugin_msg)
|
if (plugin_msg)
|
||||||
msg->plain = plugin_msg;
|
msg->plain = plugin_msg;
|
||||||
win_print_history((ProfWin*)chatwin, msg);
|
win_print_history((ProfWin*)chatwin, msg);
|
||||||
plugins_post_chat_message_display(msg->from_jid->barejid, msg->from_jid->resourcepart, msg->plain);
|
|
||||||
msg->plain = old_plain;
|
msg->plain = old_plain;
|
||||||
curr = g_slist_next(curr);
|
curr = g_slist_next(curr);
|
||||||
}
|
}
|
||||||
@@ -601,7 +597,6 @@ chatwin_db_history(ProfChatWin* chatwin, const gchar* start_time, const gchar* e
|
|||||||
} else {
|
} else {
|
||||||
win_print_history((ProfWin*)chatwin, msg);
|
win_print_history((ProfWin*)chatwin, msg);
|
||||||
}
|
}
|
||||||
plugins_post_chat_message_display(msg->from_jid->barejid, msg->from_jid->resourcepart, msg->plain);
|
|
||||||
msg->plain = old_plain;
|
msg->plain = old_plain;
|
||||||
curr = g_slist_next(curr);
|
curr = g_slist_next(curr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user