patch 2922f89ba9e3b2a0983b0e564ce29105e670c3f2
Author: E. Bosch <presidev@AT@gmail.com>
Date: Tue Jul 14 11:30:59 CEST 2026
* service: In auth help add separator if there is init help only
diff -rN -u old-irgramd/service.py new-irgramd/service.py
--- old-irgramd/service.py 2026-07-25 07:28:12.127767606 +0200
+++ new-irgramd/service.py 2026-07-25 07:28:12.127767606 +0200
@@ -21,6 +21,7 @@
'mark_read': (self.handle_command_mark_read, 1, 1, -1),
}
self.ask_code = settings['ask_code']
+ self.init_help = settings['initial_help']
self.tg = telegram
self.irc = telegram.irc
self.tmp_ircnick = None
@@ -34,8 +35,9 @@
)
def auth_help(self):
+ sep = '----' if self.init_help else ''
return (
- '----',
+ sep,
'Your Telegram account is not authorized yet,',
'you must supply the code that Telegram sent to your phone',
'or another client that is currently connected',