Unfollowing

master
Bob Mottram 2019-08-21 17:57:41 +01:00
parent 90db9261a9
commit ff4f67ca73
1 changed files with 15 additions and 16 deletions

View File

@ -826,8 +826,7 @@ class PubServer(BaseHTTPRequestHandler):
return return
# Unfollow a person from the web interface by selecting Unfollow on the dropdown # Unfollow a person from the web interface by selecting Unfollow on the dropdown
if htmlGET and '/users/' in self.path: if '/users/' in self.path and '?unfollow=' in self.path:
if '?unfollow=' in self.path:
followStr=self.path.split('?unfollow=')[1] followStr=self.path.split('?unfollow=')[1]
originPathStr=self.path.split('?unfollow=')[0] originPathStr=self.path.split('?unfollow=')[0]
if ';' in followStr: if ';' in followStr: