Don't send notifications for new objects that are tri-state moderation
authorMagnus Hagander <magnus@hagander.net>
Thu, 10 Sep 2020 18:47:19 +0000 (20:47 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 10 Sep 2020 18:47:19 +0000 (20:47 +0200)
commit4c95ad1878b61e25f36ba9b09a97f431d5b01027
treed95079d039bdfd6652a20209b7159715ac8f9884
parentb59090f8652b10a4309377f92436fb542e67d541
Don't send notifications for new objects that are tri-state moderation

These will get a notification when they are explicitly submitted for
moderation, so there is no point in having a separate notice sent when
they're created, since there is nothing for the moderators to do at that
point.
pgweb/util/helpers.py