mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
[api] Fix typo
This commit is contained in:
@@ -144,7 +144,7 @@ def get_msg_group_id_and_last_reply(msg_id):
|
|||||||
try:
|
try:
|
||||||
msg = GroupMessage.objects.get(id=msg_id)
|
msg = GroupMessage.objects.get(id=msg_id)
|
||||||
except GroupMessage.DoesNotExist:
|
except GroupMessage.DoesNotExist:
|
||||||
return None, none
|
return None, None
|
||||||
|
|
||||||
replies = MessageReply.objects.filter(reply_to=msg).order_by('-timestamp')[:1]
|
replies = MessageReply.objects.filter(reply_to=msg).order_by('-timestamp')[:1]
|
||||||
if len(replies) >= 1:
|
if len(replies) >= 1:
|
||||||
|
Reference in New Issue
Block a user