added JABBER_PRIORITY_* macros

This commit is contained in:
Dmitry Podgorny
2013-01-12 23:40:21 +02:00
parent 9121cbe295
commit 9660f402ad
2 changed files with 4 additions and 1 deletions

View File

@@ -364,7 +364,7 @@ jabber_update_presence(jabber_presence_t status, const char * const msg,
return;
pri = prefs_get_priority();
if (pri < -128 || pri > 127)
if (pri < JABBER_PRIORITY_MIN || pri > JABBER_PRIORITY_MAX)
pri = 0;
jabber_conn.presence = status;