diff --git a/daemon.py b/daemon.py index 66a5517b4..ac48983dc 100644 --- a/daemon.py +++ b/daemon.py @@ -1039,8 +1039,8 @@ class PubServer(BaseHTTPRequestHandler): if m.startswith('mention='): replyToList.append(m.replace('mention=','')) inReplyToUrl=mentionsList[0] - if inReplyToUrl.startswith('share:'): - shareDescription=inReplyToUrl + if inReplyToUrl.startswith('sharedesc:'): + shareDescription=inReplyToUrl.replace('sharedesc:','').replace('%20',' ').replace('%40','@').replace('%3A',':').replace('%23','#') self.path=self.path.split('?replydm=')[0]+'/newdm' if self.server.debug: print('DEBUG: replydm path '+self.path) diff --git a/webinterface.py b/webinterface.py index 787c80a46..533509d37 100644 --- a/webinterface.py +++ b/webinterface.py @@ -149,7 +149,7 @@ def htmlSearchSharedItems(baseDir: str,searchStr: str, \ sharedItemsForm+='Category: '+sharedItem['category']+' ' sharedItemsForm+='Location: '+sharedItem['location']+'

' contactActor=httpPrefix+'://'+domainFull+'/users/'+contactNickname - sharedItemsForm+='

Contact' + sharedItemsForm+='

Contact' sharedItemsForm+='' if not resultsExist and currPage>1: # previous page link, needs to be a POST