Don't use complete action if there may be more steps

slixmpp assumes that a complete action always leads to a status of
completed, and cleans up, which confuses at least gajim and may confuse
slix in some cases as well.
This commit is contained in:
Stephen Paul Weber 2024-02-18 22:09:31 -05:00
parent 88261571d1
commit 0cff018364
No known key found for this signature in database
GPG key ID: D11C2911CE519CDE

View file

@ -1171,7 +1171,7 @@ class Slixfeed(slixmpp.ClientXMPP):
# Automatically set priority to 5 (highest) # Automatically set priority to 5 (highest)
if url['link']: options.addOption(url['name'], url['link']) if url['link']: options.addOption(url['name'], url['link'])
session['allow_prev'] = True session['allow_prev'] = True
session['has_next'] = False session['has_next'] = True
session['next'] = self._handle_subscription_new session['next'] = self._handle_subscription_new
session['payload'] = form session['payload'] = form
session['prev'] = self._handle_promoted session['prev'] = self._handle_promoted