Add it to the correct place
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
adf163bad5
commit
7e2294933a
3 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,7 @@ RUN pacman -Sy python-pip --noconfirm; pacman -Scc --noconfirm; find /var/cache/
|
|||
|
||||
#FROM python:3.8.6-buster
|
||||
|
||||
RUN pip install fbchat
|
||||
RUN pip install fbchat==1.9.7
|
||||
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
|
|
|
@ -41,6 +41,7 @@ type LoginResponse struct {
|
|||
|
||||
type RegisterRequest struct {
|
||||
Auth RegisterRequestAuth `json:"auth"`
|
||||
Type string `json:"type"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
|
||||
|
|
|
@ -147,6 +147,7 @@ func (mx *Client) RegisterUser(username string) error {
|
|||
Auth: RegisterRequestAuth{
|
||||
Type: "m.login.application_service",
|
||||
},
|
||||
Type: "m.login.application_service",
|
||||
Username: username,
|
||||
}
|
||||
var rep RegisterResponse
|
||||
|
|
Loading…
Reference in a new issue