mirror of https://gitlab.com/bashrc2/epicyon
Turning off media instance
parent
1dd88c78e6
commit
0dd80a8438
|
@ -4134,7 +4134,14 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if fields['mediaInstance']=='on':
|
if fields['mediaInstance']=='on':
|
||||||
self.server.mediaInstance=True
|
self.server.mediaInstance=True
|
||||||
self.server.defaultTimeline='tlmedia'
|
self.server.defaultTimeline='tlmedia'
|
||||||
setConfigParam(self.server.baseDir,"mediaInstance",self.server.mediaInstance)
|
setConfigParam(self.server.baseDir,"mediaInstance", \
|
||||||
|
self.server.mediaInstance)
|
||||||
|
else:
|
||||||
|
if self.server.mediaInstance:
|
||||||
|
self.server.mediaInstance=False
|
||||||
|
self.server.defaultTimeline='inbox'
|
||||||
|
setConfigParam(self.server.baseDir,"mediaInstance", \
|
||||||
|
self.server.mediaInstance)
|
||||||
# only receive DMs from accounts you follow
|
# only receive DMs from accounts you follow
|
||||||
followDMsFilename= \
|
followDMsFilename= \
|
||||||
self.server.baseDir+'/accounts/'+ \
|
self.server.baseDir+'/accounts/'+ \
|
||||||
|
|
Loading…
Reference in New Issue