Adjust modules client and component
This commit is contained in:
parent
9685b34536
commit
c1dec9d808
2 changed files with 903 additions and 135 deletions
|
@ -223,15 +223,9 @@ class Slixfeed(slixmpp.ClientXMPP):
|
|||
def on_session_resumed(self, event):
|
||||
# self.send_presence()
|
||||
profile.set_identity(self, 'client')
|
||||
# self.service_commands()
|
||||
# self.service_reactions()
|
||||
self['xep_0115'].update_caps()
|
||||
XmppGroupchat.autojoin(self)
|
||||
|
||||
# Service.commands(self)
|
||||
# Service.reactions(self)
|
||||
|
||||
|
||||
|
||||
async def on_disco_info(self, DiscoInfo):
|
||||
jid = DiscoInfo['from']
|
||||
|
@ -1321,7 +1315,7 @@ class Slixfeed(slixmpp.ClientXMPP):
|
|||
value = False
|
||||
form.add_field(var='old',
|
||||
ftype='boolean',
|
||||
desc='Send old items of newly added subscriptions.',
|
||||
desc='Treat all items of newly added subscriptions as new.',
|
||||
# label='Send only new items',
|
||||
label='Include old news',
|
||||
value=value)
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue