Merge branch 'priority-fix'
This commit is contained in:
commit
21f4d5c066
@ -214,7 +214,7 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream {
|
||||
$out = "<presence";
|
||||
if($to) $out .= " to=\"$to\"";
|
||||
if($type) $out .= " type='$type'";
|
||||
if($show == 'available' and !$status and !$priority) {
|
||||
if($show == 'available' and !$status and $priority !== null) {
|
||||
$out .= "/>";
|
||||
} else {
|
||||
$out .= ">";
|
||||
|
Loading…
Reference in New Issue
Block a user