1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 13:50:07 +00:00

Mofigy group msg reply notification

This commit is contained in:
xiez
2012-06-27 19:56:11 +08:00
parent 8cd03c94cb
commit 1be271353e
4 changed files with 19 additions and 13 deletions

View File

@@ -251,6 +251,10 @@ def msg_reply_new(request):
for msg_id in grpmsg_reply_list:
try:
m = GroupMessage.objects.get(id=msg_id)
# get group name
group = ccnet_threaded_rpc.get_group(int(m.group_id))
m.group_name = group.group_name
# get message replies
reply_list = MessageReply.objects.filter(reply_to=m)
# get nickname