thepurplebubble / magic-mirror

Mirroring Slack Channels Between Workspaces
2 stars 0 forks source link

[BUG] - Top level pre db errors on thread send #9

Closed jaspermayone closed 2 months ago

jaspermayone commented 2 months ago

What bug did you encounter?

when a message is sent in a thread created before the bot was running or db was reset, we get an error because it can't get the top level message from the db

What did you expect to happen?

this can be solved by fetching the top level message and then creating a record in the db for it.

Screenshots

CleanShot 2024-07-11 at 12 05 33@2x

Additional information

No response

jaspermayone commented 2 months ago

wait... this will also need to send the top level message tho... mb we just ignore it?

jaspermayone commented 2 months ago

yea I think thats the move.