From 0f40c2266831dab0a89da1fad15b8801fa0acf52 Mon Sep 17 00:00:00 2001
From: Daniel Gultsch Fixed the wrong use of no-storage instead of no-store Added a message hint <store/>
Offline storage and &xep0313; can define their own rules on what messages to store and usually only store messages that contain a body element. However a sender may want to indicate that a message is worth storeing even though it might not match those rules (e.g. an encrypted message that carries the payload outside the body element). Such a message can be marked with a <store/> hint.
+The <no-permanent-storage/> hint informs entities that they shouldn't store the message in
+ The <no-permanent-store/> hint informs entities that they shouldn't store the message in
any permanent or semi-permanent public or private archive (such as described in &xep0136; and &xep0313;)
or in logs (such as chatroom logs).
A message containing a <no-storage/> hint should not be stored by a server either permanently (as above)
+ A message containing a <no-store/> hint should not be stored by a server either permanently (as above)
or temporarily, e.g. for later delivery to an offline client, or to users not currently present in a chatroom.
A message containing the <store/> hint that is not of type 'error' SHOULD be stored by the entity.
It is important to note that message hints are, as the name implies, just hints. Implementations
@@ -122,6 +138,7 @@