build_search_pattern/1 picks between SQL-wildcard (when the query contains `*`) and prefix-match (SSID-friendly) forms via two function heads instead of an inline `if`. The transform is now isolated and obviously boolean-dispatched at the call site. |
||
|---|---|---|
| .. | ||
| mobile_channel.ex | ||
| mobile_user_socket.ex | ||