2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-09 13:10:44 +00:00
Comrad/app/screens/messages/messages.py

12 lines
294 B
Python
Raw Normal View History

2020-08-10 16:37:42 +00:00
from screens.base import ProtectedScreen
2020-08-21 14:04:27 +00:00
from screens.feed.feed import *
from screens.post.post import *
2020-08-10 16:37:42 +00:00
2020-08-22 21:20:27 +00:00
class MessagesScreen(FeedScreen):
def on_pre_enter(self):
if not self.app.username: return
self.app.uri = '/inbox/'+self.app.username
super().on_pre_enter()
2020-08-10 16:37:42 +00:00