mirror of https://gitlab.com/bashrc2/epicyon
Extra debug
parent
a0989f2958
commit
e0e5f54629
|
@ -1031,6 +1031,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
replyToList.append(m.replace('mention=',''))
|
replyToList.append(m.replace('mention=',''))
|
||||||
inReplyToUrl=mentionsList[0]
|
inReplyToUrl=mentionsList[0]
|
||||||
self.path=self.path.split('?replyto=')[0]+'/newpost'
|
self.path=self.path.split('?replyto=')[0]+'/newpost'
|
||||||
|
if self.server.debug:
|
||||||
|
print('DEBUG: replyto path '+self.path)
|
||||||
|
|
||||||
# replying as a direct message, for moderation posts
|
# replying as a direct message, for moderation posts
|
||||||
if authorized and '?replydm=' in self.path:
|
if authorized and '?replydm=' in self.path:
|
||||||
|
@ -1042,6 +1044,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
replyToList.append(m.replace('mention=',''))
|
replyToList.append(m.replace('mention=',''))
|
||||||
inReplyToUrl=mentionsList[0]
|
inReplyToUrl=mentionsList[0]
|
||||||
self.path=self.path.split('?replydm=')[0]+'/newdm'
|
self.path=self.path.split('?replydm=')[0]+'/newdm'
|
||||||
|
if self.server.debug:
|
||||||
|
print('DEBUG: replydm path '+self.path)
|
||||||
|
|
||||||
# edit profile in web interface
|
# edit profile in web interface
|
||||||
if '/users/' in self.path and self.path.endswith('/editprofile'):
|
if '/users/' in self.path and self.path.endswith('/editprofile'):
|
||||||
|
|
Loading…
Reference in New Issue