Skip to content
Snippets Groups Projects
Commit ce54f7a9 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[httpupload] Use aegscm url scheme for omemo uploads

parent f36d94b5
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment