(20250117) Major revamping in the mail module. Everything revamped. Sending is a pending task.
This commit is contained in:
@@ -180,7 +180,7 @@ async def update_sms_tags(
|
||||
|
||||
# Check if the token(s) belong to the user claiming ownership:
|
||||
if not await token_check.is_authorized(
|
||||
mongo_conn = current_app.data_mongo,
|
||||
mongo_data_conn = current_app.data_mongo,
|
||||
user_info = CoreUserInfoModel(**kwargs["session_info"]),
|
||||
token_ids = [message.tokenId]
|
||||
): return ResponseModel(
|
||||
@@ -195,7 +195,7 @@ async def update_sms_tags(
|
||||
# ┛ ┛
|
||||
|
||||
# Update the message:
|
||||
success = await current_app.sms_controller.update_tags(
|
||||
success = await current_app.sms_controller.update_sms_tags(
|
||||
mongo_data_conn = current_app.data_mongo,
|
||||
message_id = inbound_data.messageId,
|
||||
unset_tags = inbound_data.unsetTags,
|
||||
|
||||
Reference in New Issue
Block a user