mirror of
https://github.com/pushbits/server.git
synced 2025-05-31 17:56:33 +02:00
add test for getUser & add readme
This commit is contained in:
parent
46dd19b07d
commit
e6f24c4458
6 changed files with 114 additions and 21 deletions
|
@ -6,8 +6,8 @@ import (
|
|||
)
|
||||
|
||||
// GetMatrixDispatcher creates and returns a matrix dispatcher
|
||||
func GetMatrixDispatcher(homeserver, username, password string) (*dispatcher.Dispatcher, error) {
|
||||
db, err := GetEmptyDatabase()
|
||||
func GetMatrixDispatcher(homeserver, username, password string, confCrypto configuration.CryptoConfig) (*dispatcher.Dispatcher, error) {
|
||||
db, err := GetEmptyDatabase(confCrypto)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue