diff options
author | James Booth <boothj5@gmail.com> | 2013-02-03 20:09:56 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-02-03 20:09:56 +0000 |
commit | 1cea320a0cff2a763a47322283886facfd9c9c29 (patch) | |
tree | 3fa253c81835d809965c9f8a1bcb7abd3004584e /src/config | |
parent | 059f3e24784a7a7af4c9b9fe49be7e437c3bb2ed (diff) | |
download | profani-tty-1cea320a0cff2a763a47322283886facfd9c9c29.tar.gz |
Send entity capabilities and status when joining room
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/accounts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/accounts.c b/src/config/accounts.c index b94f27c2..c51e01f5 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -428,6 +428,9 @@ accounts_get_priority_for_presence_type(const char * const account_name, result = 0; break; } + + if (result < JABBER_PRIORITY_MIN || result > JABBER_PRIORITY_MAX) + result = 0; return result; } |