Send OPML file even when using Ad-hoc command

This commit is contained in:
Schimon Jehudah 2024-02-25 20:33:33 +00:00
parent 5135186717
commit bfde775369

View file

@ -1862,6 +1862,8 @@ class Slixfeed(slixmpp.ClientXMPP):
label=ext,
value=url)
url_field['validate']['datatype'] = 'xs:anyURI'
chat_type = await get_chat_type(self, jid)
XmppMessage.send_oob(self, jid, url, chat_type)
form['type'] = 'result'
form['title'] = 'Done'
form['instructions'] = ('Completed successfully!')