mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-03-28 17:43:05 +01:00
11 lines
289 B
Python
11 lines
289 B
Python
PUBLIC_CHANNEL_KEY = "8B3387E9C5CDEA6AC9E5EDBAA115CD72"
|
|
PUBLIC_CHANNEL_NAME = "Public"
|
|
|
|
|
|
def is_public_channel_key(key: str) -> bool:
|
|
return key.upper() == PUBLIC_CHANNEL_KEY
|
|
|
|
|
|
def is_public_channel_name(name: str) -> bool:
|
|
return name.casefold() == PUBLIC_CHANNEL_NAME.casefold()
|