Improve notifications
- Keep track of unread count - "follow back" action
This commit is contained in:
@@ -30,6 +30,7 @@ from config import ME
|
||||
from config import USER_AGENT
|
||||
from config import USERNAME
|
||||
from tasks import Tasks
|
||||
from utils.meta import Box
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -95,12 +96,6 @@ def _is_local_reply(create: ap.Create) -> bool:
|
||||
return False
|
||||
|
||||
|
||||
class Box(Enum):
|
||||
INBOX = "inbox"
|
||||
OUTBOX = "outbox"
|
||||
REPLIES = "replies"
|
||||
|
||||
|
||||
class MicroblogPubBackend(Backend):
|
||||
"""Implements a Little Boxes backend, backed by MongoDB."""
|
||||
|
||||
|
Reference in New Issue
Block a user