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):
|
def on_session_resumed(self, event):
|
||||||
# self.send_presence()
|
# self.send_presence()
|
||||||
profile.set_identity(self, 'client')
|
profile.set_identity(self, 'client')
|
||||||
# self.service_commands()
|
|
||||||
# self.service_reactions()
|
|
||||||
self['xep_0115'].update_caps()
|
self['xep_0115'].update_caps()
|
||||||
XmppGroupchat.autojoin(self)
|
XmppGroupchat.autojoin(self)
|
||||||
|
|
||||||
# Service.commands(self)
|
|
||||||
# Service.reactions(self)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
async def on_disco_info(self, DiscoInfo):
|
async def on_disco_info(self, DiscoInfo):
|
||||||
jid = DiscoInfo['from']
|
jid = DiscoInfo['from']
|
||||||
|
@ -1321,7 +1315,7 @@ class Slixfeed(slixmpp.ClientXMPP):
|
||||||
value = False
|
value = False
|
||||||
form.add_field(var='old',
|
form.add_field(var='old',
|
||||||
ftype='boolean',
|
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='Send only new items',
|
||||||
label='Include old news',
|
label='Include old news',
|
||||||
value=value)
|
value=value)
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue