diff --git a/README.md b/README.md index d9bca7b..0a1e81e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ ## Mirror (latest pull 2020-11-01) From: https://dev.narayana.im/narayana/zhabogram +## Zhabogram is deprecated now. +Repository is archived. + ### Dependencies ### * Ruby >= 2.4 diff --git a/inc/telegramclient.rb b/inc/telegramclient.rb index 395d9f8..f2b043e 100644 --- a/inc/telegramclient.rb +++ b/inc/telegramclient.rb @@ -28,6 +28,7 @@ timezone — adjust timezone for Telegram user statuses (example: +02:00) keeponline — always keep telegram session online and rely on jabber offline messages (example: true) rawmessages — do not add additional info (message id, origin etc.) to incoming messages (example: true) + notifydel — send info (message id) about deleted messages (example: true) } HELP_CHAT_CMD= %q{Available commands: @@ -206,7 +207,7 @@ def update_messagecontent(update) ## message(s) deleted def update_deletemessages(update) text = "✗ %s" % update.message_ids.join(',') - @xmpp.send_message(@jid, update.chat_id, text) if update.is_permanent + @xmpp.send_message(@jid, update.chat_id, text) if update.is_permanent unless @session[:notifydel] == 'false' end ## new chat discovered