aekondratiev / redmine_telegram_email

Messages to the Telegram, like email, from Redmine.
17 stars 5 forks source link

Disable notification #3

Closed Egregius closed 6 years ago

Egregius commented 7 years ago

Telegram has a option in their api to disable the notification sound. In other words: the message appears in the chat history but not on the welcome screen and didn't make a sound. That's great for logging purposes. The option is quite simple: disable_notification=true must be added to the post data.

In my opinion it would be great if users could select to disable the notification, or even better if they could select it depending on the priority. Something like if priority < 3 disable sound.

Good idea?

aekondratiev commented 7 years ago

Yes, sounds good, but I dont think it very necessary, because common idea of plugin is get notifications on redmine issues with sound :) And I dont think that users need debug something or logging, in case email are just fine for logging, telegram more instant style.

But if you want, just do it yourself and send PR to me, ruby very simple language, just make user custom field and simple logic like in other custom fields.

Egregius commented 7 years ago

I'll try it myself then ;)