We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27417a4 commit 8af33b2Copy full SHA for 8af33b2
sogs/routes/dm.py
@@ -116,12 +116,11 @@ def send_inbox(sid):
116
@auth.blind_user_required
117
def delete_inbox_items():
118
"""
119
- Deletes the user's sent and recieved messages.
120
- # Return value
+ Deletes all of the user's received messages.
121
122
- On removal of messages, we return a json object with one key `"deleted"` which maps to a number
123
- indicating how many messages were deleted.
+ # Return value
124
+ Returns a JSON object with one key `"deleted"` set to the number of deleted messages.
125
126
ret = dict()
127
with db.transaction():
0 commit comments