Compare commits
2 commits
fix_notifi
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
c2230cdefb | ||
|
1c3a25f82d |
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ def create_notification_batch(action: str, comments: List[dict]) -> List[dict]:
|
||||||
}
|
}
|
||||||
if comment.get('channel_id'):
|
if comment.get('channel_id'):
|
||||||
event['channel_id'] = comment['channel_id']
|
event['channel_id'] = comment['channel_id']
|
||||||
|
if comment.get('parent_id'):
|
||||||
|
event['parent_id'] = comment['parent_id']
|
||||||
|
if comment.get('comment'):
|
||||||
|
event['comment'] = comment['comment']
|
||||||
events.append(event)
|
events.append(event)
|
||||||
return events
|
return events
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue