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