Add zap notify functionality
This commit is contained in:
parent
99e622eeef
commit
e39a0ccc14
13 changed files with 506 additions and 78 deletions
|
@ -72,12 +72,13 @@ void setup()
|
|||
setupTasks();
|
||||
setupTimers();
|
||||
|
||||
if (preferences.getBool("useNostr", DEFAULT_USE_NOSTR))
|
||||
if (preferences.getBool("useNostr", DEFAULT_USE_NOSTR) || preferences.getBool("nostrZapNotify", DEFAULT_ZAP_NOTIFY_ENABLED))
|
||||
{
|
||||
setupNostrNotify();
|
||||
setupNostrTask();
|
||||
}
|
||||
else
|
||||
|
||||
if (!preferences.getBool("useNostr", DEFAULT_USE_NOSTR))
|
||||
{
|
||||
xTaskCreate(setupWebsocketClients, "setupWebsocketClients", 8192, NULL,
|
||||
tskIDLE_PRIORITY, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue