yafp / ttth

ttth (talk to the hand) is an electron based desktop app for online services like WhatsApp, Threema, Telegram, Twitter, Google and several others.
GNU General Public License v3.0
123 stars 25 forks source link

Noty is not defined #128

Closed yafp closed 5 years ago

yafp commented 5 years ago

Seems like the current noty implemention throws errors:

Noty is not defined

see sentry issue: TTTH-1K

yafp commented 5 years ago

previous:

var n = new Noty(
{
...
}

should be replaced with

const Noty = require("noty");
var n = new Noty(
{
...
}

And switch from lib/noty to noty via npm.

Seems to work for linux&mac in builds as well.