Logo
Explore Help
Sign In
discourse/discourse-chat-integration
1
0
Fork 0
You've already forked discourse-chat-integration
mirror of https://github.com/discourse/discourse-chat-integration.git synced 2025-10-27 20:08:43 +00:00
Code Issues Packages Projects Releases Wiki Activity
discourse-chat-integration/lib/discourse_chat/provider/telegram/telegram_provider.rb

10 lines
215 B
Ruby
Raw Normal View History

Added filtering logic for multiple providers, along with many RSpec tests. General structure of the filter rules is taken from discourse-slack-official, but re-written to be more robust and easier to understand.
2017-06-27 19:21:27 +01:00
module DiscourseChat
module Provider
module TelegramProvider
Allow providers to be disabled, and tidy up translations
2017-07-03 15:53:26 +01:00
include Provider
Added filtering logic for multiple providers, along with many RSpec tests. General structure of the filter rules is taken from discourse-slack-official, but re-written to be more robust and easier to understand.
2017-06-27 19:21:27 +01:00
PROVIDER_NAME = "telegram".freeze
Allow providers to be disabled, and tidy up translations
2017-07-03 15:53:26 +01:00
PROVIDER_ENABLED_SETTING = :chat_integration_telegram_enabled
Added filtering logic for multiple providers, along with many RSpec tests. General structure of the filter rules is taken from discourse-slack-official, but re-written to be more robust and easier to understand.
2017-06-27 19:21:27 +01:00
end
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 59ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API