rzr / mastodon-lite

Lightweight client for mastodon micro blogging service.
https://purl.org/rzr/mastodon-lite
Apache License 2.0
19 stars 6 forks source link

Garbage messages #5

Open s3rvant opened 5 years ago

s3rvant commented 5 years ago

Currently messages are only sent when they differ from the previous message. This means that if I want to know when my window opens I need to send another toot to change the message property or else I won't get notified next time the window opens.

Would prefer that after sending the toot the addon property resets to some default so that every time the addon is called webthings will detect a changed property and trigger the toot.

rzr commented 5 years ago

Yes I made this to avoid flooding, you could eventually workaround this with timestamp date...

I assume you're using this module in @mozillaiot gateway ?

Since there is an Alert in schema maybe it could be more appropriate, also this could be aligned to other adapters...

Meanwhile may I suggest to make this feature optional, I will review your patches ;)