This repository has been archived on 2024-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
annelin 4dfd278a39 Release 2.0.0
! Backward compatibility with old sessions file (sessions.db) is broken due to planned config variables in future. New format is:
     :login: '1234567890'

— Huge code refactoring and readability improvement
— Removed XMPP features jabber:iq:register (will now try to log in after subscription request) and jabber:iq:gateway (since it does not working on foreign servers?)
— Reworked application logic — now code in `xmppcomponent.rb` only used to XMPP jobs and `telegramclient.rb` aims Telegram.
  Because of that, commands like /login /code /password are moved out to `telegramclient.rb` and now are parts of internal command to gateway (chat id 0)
— Reworked /chat and /gateway command list — please, just send /help to gateway or any active chat.
— Improved stability (I hope so...)
— Any other small (and not only) unlisted and forgotten changes..
2019-08-08 13:51:33 +03:00

24 lines
667 B

:lib_path: 'lib/'
:verbosity: 1
:loglevel: :warn
:api_id: '17349'
:api_hash: '344583e45741c457fe1862106095a5eb'
:device_model: 'zhabogram'
:application_version: '2.0'
:use_chat_info_database: false
:path: '/var/www/zhabogram/media' # webserver workdir
:link: 'http://localhost/zhabogram/media' # webserver public address
:upload: 'https://localhost/upload' # xmpp http upload address
:debug: false
:loglevel: :warn
:host: ''
:port: 8899
:jid: 'tlgrm.localhost'
:password: 'password'
:db: 'sessions.dat'