Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
74 stars 32 forks source link

Messages disappear from "Sent Messages" #241

Closed happy-river closed 4 years ago

happy-river commented 4 years ago

To reproduce:

Result: the message is not visible.

This is happening because the sent messages query is looking for an mtype of 1, but the mtype gets changed to 9 when the message is saved.

Would it be correct to fix this by having the sent messages query just look at the sentby field of the Message model?