comments
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Sarah Jamie Lewis 2021-11-23 14:54:06 -08:00
parent 781f4a919b
commit e7191f5d57
1 changed files with 1 additions and 0 deletions

View File

@ -681,6 +681,7 @@ func (cps *CwtchProfileStorage) GetMostRecentMessages(conversation int, channel
}
}
// PurgeConversationChannel deletes all message for a conversation channel.
func (cps *CwtchProfileStorage) PurgeConversationChannel(conversation int, channel int) error {
conversationStmt, err := cps.db.Prepare(fmt.Sprintf(purgeMessagesFromConversationSQLStmt, conversation, channel))
if err != nil {