forked from sch/Slixfeed
Send OPML file even when using Ad-hoc command
This commit is contained in:
parent
5135186717
commit
bfde775369
1 changed files with 2 additions and 0 deletions
|
@ -1862,6 +1862,8 @@ class Slixfeed(slixmpp.ClientXMPP):
|
||||||
label=ext,
|
label=ext,
|
||||||
value=url)
|
value=url)
|
||||||
url_field['validate']['datatype'] = 'xs:anyURI'
|
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['type'] = 'result'
|
||||||
form['title'] = 'Done'
|
form['title'] = 'Done'
|
||||||
form['instructions'] = ('Completed successfully!')
|
form['instructions'] = ('Completed successfully!')
|
||||||
|
|
Loading…
Reference in a new issue