mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-17 21:25:37 +00:00
12 lines
294 B
Python
12 lines
294 B
Python
from screens.base import ProtectedScreen
|
|
from screens.feed.feed import *
|
|
from screens.post.post import *
|
|
|
|
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()
|
|
|