mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-10 21:34:14 +00:00
used || instead of 'or' in sql stmt
This commit is contained in:
1 parent
6ae933a2e9
commit
91230e01f9
1 file changed
+1
-1
@@ -627,7 +627,7 @@ static void actual_sofia_presence_event_handler(switch_event_t *event)
|
||||
"from sip_dialogs "
|
||||
|
||||
"where (presence_id='%q@%q' or "
|
||||
"(sip_from_user='%q' and (sip_from_host='%q' || sip_to_host='%q')))",
|
||||
"(sip_from_user='%q' and (sip_from_host='%q' or sip_to_host='%q')))",
|
||||
|
||||
dh.status, dh.rpid, probe_euser, probe_host, probe_euser, probe_host, probe_host);
|
||||
|
||||
|
||||
Reference in new issue
Block a user