New Storage Refactor #404

Merged
sarah merged 33 commits from p2p-interim-new-storage into master 2021-11-25 23:56:51 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit e7191f5d57 - Show all commits

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 {