blob: 09fd7dd4325a776de2d92ce81608e240210b6dcb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
namespace Xmpp.Xep.MessageProcessingHints {
private const string NS_URI = "urn:xmpp:hints";
public const string HINT_NO_PERMANENT_STORE = "no-permanent-store";
public const string HINT_NO_STORE = "no-store";
public const string HINT_NO_COPY = "no-copy";
public const string HINT_STORE = "store";
public static void set_message_hint(MessageStanza message, string message_hint) {
StanzaNode hint_node = (new StanzaNode.build(message_hint, NS_URI)).add_self_xmlns();
message.stanza.put_node(hint_node);
}
}
|