(aceConfig)
| 1744 | } |
| 1745 | |
| 1746 | const shouldShowAiBotHelp = function (aceConfig) { |
| 1747 | if (aceConfig.levelChat !== 'none') { |
| 1748 | if (me.isAdmin()) { |
| 1749 | return true |
| 1750 | } else if (me.isHomeUser() && me.shouldShowLevelAIChat()) { |
| 1751 | return true |
| 1752 | } else if (!me.isHomeUser()) { |
| 1753 | return true |
| 1754 | } |
| 1755 | } |
| 1756 | return false |
| 1757 | } |
| 1758 | |
| 1759 | const isMobile = () => { |
| 1760 | // First try the modern way - navigator.userAgentData |
nothing calls this directly
no test coverage detected