Commit ce54f7a9 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[httpupload] Use aegscm url scheme for omemo uploads

parent f36d94b5
......@@ -398,6 +398,7 @@ class Base(object):
message = file.get
if file.user_data:
message += '#' + file.user_data
message = self.convert_to_aegscm(message)
else:
self.plugin.messages.append(message)
file.control.send_message(message=message)
......@@ -416,6 +417,10 @@ class Base(object):
ErrorDialog(_('Error'), str(reason),
transient_for=file.control.parent_win.window)
@staticmethod
def convert_to_aegscm(url):
return 'aesgcm' + url[5:]
class File:
def __init__(self, path, **kwargs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment