Bounce message corrections
On IRC it is confusing when an XMPP user "corrects" a message, but on the other side a new message is sent. To prevent spam and confusion, do not allow message corrections at all, and instead return an error if attempted. Fixes: #3436 Fixes: #3480
This commit is contained in:
committed by
mathieui
parent
5cb2802fd2
commit
9c92f7ce4a
@@ -39,6 +39,7 @@
|
||||
#define STABLE_ID_NS "urn:xmpp:sid:0"
|
||||
#define STABLE_MUC_ID_NS "http://jabber.org/protocol/muc#stable_id"
|
||||
#define SELF_PING_FLAG MUC_NS"#self-ping-optimization"
|
||||
#define MESSAGE_CORRECT_NS "urn:xmpp:message-correct:0"
|
||||
|
||||
/**
|
||||
* An XMPP component, communicating with an XMPP server using the protocole
|
||||
|
||||
Reference in New Issue
Block a user