diff --git a/daemon.py b/daemon.py index 3a9932ec..1775ff5b 100644 --- a/daemon.py +++ b/daemon.py @@ -2669,6 +2669,15 @@ class PubServer(BaseHTTPRequestHandler): self.wfile.write(msg) self.server.POSTbusy=False return + if '&submitDM=' in optionsConfirmParams: + if self.server.debug: + print('Sending DM to '+optionsActor) + reportPath=self.path.replace('/personoptions','')+'/newdm' + msg=htmlNewPost(self.server.baseDir,reportPath,None,[optionsActor],postUrl).encode() + self._set_headers('text/html',len(msg),cookie) + self.wfile.write(msg) + self.server.POSTbusy=False + return if '&submitReport=' in optionsConfirmParams: if self.server.debug: print('Reporting '+optionsActor) diff --git a/webinterface.py b/webinterface.py index 6c53d9d2..0b8fa174 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1635,6 +1635,7 @@ def htmlPersonOptions(baseDir: str,domain: str,originPathStr: str,optionsActor: ' ' \ ' ' \ ' ' \ + ' ' \ ' ' \ ' ' optionsStr+=''