comments
This commit is contained in:
parent
781f4a919b
commit
e7191f5d57
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue