forked from sch/Slixfeed
Fix component mode
This commit is contained in:
parent
e13807442e
commit
e2652760bc
4 changed files with 1096 additions and 535 deletions
|
@ -195,7 +195,11 @@ def main():
|
||||||
# # socket.socket = socks.socksocket
|
# # socket.socket = socks.socksocket
|
||||||
|
|
||||||
# Setup the command line arguments.
|
# Setup the command line arguments.
|
||||||
parser = ArgumentParser(description=Slixfeed.__doc__)
|
match xmpp_type:
|
||||||
|
case 'client':
|
||||||
|
parser = ArgumentParser(description=Slixfeed.__doc__)
|
||||||
|
case 'component':
|
||||||
|
parser = ArgumentParser(description=SlixfeedComponent.__doc__)
|
||||||
|
|
||||||
parser.add_argument('-v', '--version', help='Print version',
|
parser.add_argument('-v', '--version', help='Print version',
|
||||||
action='version', version=__version__)
|
action='version', version=__version__)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
__version__ = '0.1.17'
|
__version__ = '0.1.18'
|
||||||
__version_info__ = (0, 1, 17)
|
__version_info__ = (0, 1, 18)
|
||||||
|
|
|
@ -1882,6 +1882,7 @@ class Slixfeed(slixmpp.ClientXMPP):
|
||||||
# session["has_next"] = False
|
# session["has_next"] = False
|
||||||
session['next'] = None
|
session['next'] = None
|
||||||
session['payload'] = form
|
session['payload'] = form
|
||||||
|
return session
|
||||||
|
|
||||||
|
|
||||||
async def _handle_contact_action(self, payload, session):
|
async def _handle_contact_action(self, payload, session):
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue