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 2 additions and 1 deletions
Showing only changes of commit af8322b734 - Show all commits

View File

@ -537,7 +537,8 @@ func (cps *CwtchProfileStorage) GetChannelMessageByContentHash(conversation int,
}
rows.Close()
return id, nil
// Return the offset **not** the count
return id-1, nil
}
// GetRowNumberByMessageID looks up the row number of a message by the message ID