Fixed string length check when assigning to boolean to avoid compiler warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1687 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
ef606f9ad0
commit
25cb7002fc
|
@ -89,7 +89,7 @@ bool JGEngine::receive()
|
|||
// Check if it's a message from a user with resource
|
||||
else if (event->type() == JBEvent::Message) {
|
||||
JabberID from(event->from());
|
||||
checkSession = from.resource();
|
||||
checkSession = !from.resource().null();
|
||||
}
|
||||
// Add event to the appropriate session
|
||||
if (checkSession) {
|
||||
|
|
Loading…
Reference in New Issue