Resolves #1067
Error:
when retrieving threads from DB, helper method would try to get active thread channel and match it's ID with thread record from DB. If a match happens, it would then grab authorID from that record and go on with rest of archive flow (retrieve user and then chooses to archive thread with or without mentioning author based on results)
Changes:
Dividing archive logic into two parts, if a record match happens in DB aka authorId is found or not
Resolves #1067 Error: when retrieving threads from DB, helper method would try to get active thread channel and match it's ID with thread record from DB. If a match happens, it would then grab authorID from that record and go on with rest of archive flow (retrieve user and then chooses to archive thread with or without mentioning author based on results)
Changes:
triggerArchiveFlow
triggerAuthorIdNotFoundArchiveFlow