Should probably change it from state being possibly undefined to another field which just invalidates the state (like depth: number). Then check that this is 0 everywhere state is checked for being undefined now. Depth should increase every time the motion gets forwarded. Need to leave the undefined checks though, so as to not break old motions.
Add a special case for announcement posts, where the previous votes are added up and counted.
Should probably change it from state being possibly undefined to another field which just invalidates the state (like
depth: number
). Then check that this is0
everywherestate
is checked for being undefined now. Depth should increase every time the motion gets forwarded. Need to leave the undefined checks though, so as to not break old motions.Add a special case for announcement posts, where the previous votes are added up and counted.