Re-add function that was accidentally removed
This commit is contained in:
parent
b49416ed80
commit
06e8f14c8a
@ -66,6 +66,11 @@ func NewContainer(gmx ifc.Gomuks) *Container {
|
|||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Client returns the underlying gomatrix Client.
|
||||||
|
func (c *Container) Client() *gomatrix.Client {
|
||||||
|
return c.client
|
||||||
|
}
|
||||||
|
|
||||||
// InitClient initializes the gomatrix client and connects to the homeserver specified in the config.
|
// InitClient initializes the gomatrix client and connects to the homeserver specified in the config.
|
||||||
func (c *Container) InitClient() error {
|
func (c *Container) InitClient() error {
|
||||||
if len(c.config.HS) == 0 {
|
if len(c.config.HS) == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user