introduce priority support

add new command /priority <int>
improve jabber_update_presence()
use jabber_update_presence() for sending initial presence
save priority and status string to jabber_conn structure
This commit is contained in:
Dmitry Podgorny
2012-11-13 12:51:28 +02:00
parent b14aab4ade
commit a114fe88b8
8 changed files with 118 additions and 11 deletions

View File

@@ -34,6 +34,7 @@
#define STANZA_NAME_MESSAGE "message"
#define STANZA_NAME_BODY "body"
#define STANZA_NAME_PRESENCE "presence"
#define STANZA_NAME_PRIORITY "priority"
#define STANZA_NAME_X "x"
#define STANZA_NAME_SHOW "show"
#define STANZA_NAME_STATUS "status"