mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 16:06:21 +00:00
Don't override ProfMessage Id with origin-id
Profanity sends the same value for both. Other clients might not. Safe both since we could need them later. Once we implement Last Message Correction we will need the regular id. If we override it with origin-id and another client chooses to not use the same value for id and origin-id then we can't interpret the id sent with the LMC request correctly.
This commit is contained in:
@@ -527,7 +527,7 @@ mucwin_incoming_msg(ProfMucWin *mucwin, ProfMessage *message, GSList *mentions,
|
||||
assert(mucwin != NULL);
|
||||
int flags = 0;
|
||||
|
||||
if (message_is_sent_by_us(message)) {
|
||||
if (message_is_sent_by_us(message, TRUE)) {
|
||||
/* Ignore reflection messages */
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user