Send entity capabilities and status when joining room

This commit is contained in:
James Booth
2013-02-03 20:09:56 +00:00
parent 059f3e2478
commit 1cea320a0c
4 changed files with 162 additions and 111 deletions

View File

@@ -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;
}