Fix data storage and other things

This commit is contained in:
Tulir Asokan
2018-08-16 19:20:07 +03:00
parent 9c48eeb534
commit 141eba644b
13 changed files with 158 additions and 36 deletions

View File

@ -22,7 +22,7 @@ import (
type PortalQuery struct {
db *Database
log *log.Sublogger
log log.Logger
}
func (pq *PortalQuery) CreateTable() error {
@ -74,7 +74,7 @@ func (pq *PortalQuery) get(query string, args ...interface{}) *Portal {
type Portal struct {
db *Database
log *log.Sublogger
log log.Logger
JID string
MXID string