Merge branch 'master' of github.com:EndenDragon/Titan

This commit is contained in:
Jeremy Zhang 2017-05-27 10:51:20 -07:00
commit 9037be3d7f

View File

@ -295,6 +295,8 @@ def fetch():
messages = {} messages = {}
if status['banned'] or status['revoked']: if status['banned'] or status['revoked']:
status_code = 403 status_code = 403
if user_unauthenticated():
session['user_keys'].pop(guild_id, None)
else: else:
chan = filter_guild_channel(guild_id, channel_id) chan = filter_guild_channel(guild_id, channel_id)
if not chan.get("read"): if not chan.get("read"):