forked from MirrorHub/mautrix-whatsapp
No description
31ef9d339f
This fixes panics that happen because the handlers assume the user is logged in when the command is executed. Example of a panic that happened: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x928d7c] goroutine 127 [running]: main.(*CommandHandler).CommandList(0xc0001783c0, 0xc00016bef8) /build/commands.go:186 +0x6c main.(*CommandHandler).Handle(0xc0001783c0, 0xc000455920, 0x1b, 0xc0002480c0, 0xc000250470, 0x4) /build/commands.go:89 +0x1f3 main.(*MatrixHandler).HandleMessage(0xc000176db0, 0xc0001ae6c0) /build/matrix.go:161 +0x203 created by maunium.net/go/mautrix-appservice.(*EventProcessor).Start |
||
---|---|---|
config | ||
database | ||
types | ||
whatsapp-ext | ||
.editorconfig | ||
.gitignore | ||
commands.go | ||
docker-run.sh | ||
Dockerfile | ||
example-config.yaml | ||
formatting.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
matrix.go | ||
portal.go | ||
puppet.go | ||
README.md | ||
ROADMAP.md | ||
statestore.go | ||
user.go |
mautrix-whatsapp
A Matrix-WhatsApp puppeting bridge based the Rhymen/go-whatsapp implementation of the sigalor/whatsapp-web-reveng project.
Wiki
Features & Roadmap
Discussion
Matrix room: #whatsapp:maunium.net