Started working on emoji

This commit is contained in:
tsmethurst
2021-04-13 11:56:12 +02:00
parent 2e7ac10d00
commit 9826f3f6d9
16 changed files with 75 additions and 14 deletions

View File

@ -111,6 +111,10 @@ type DB interface {
HANDY SHORTCUTS
*/
// CreateInstanceAccount creates an account in the database with the same username as the instance host value.
// Ie., if the instance is hosted at 'example.org' the instance user will have a username of 'example.org'.
CreateInstanceAccount() error
// GetAccountByUserID is a shortcut for the common action of fetching an account corresponding to a user ID.
// The given account pointer will be set to the result of the query, whatever it is.
// In case of no entries, a 'no entries' error will be returned