Find a file
Remi Reuvekamp 31ef9d339f Disallow using session commands when not logged in
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
2019-03-15 15:45:27 +01:00
config Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
database Make message.CreateTable usable on postgres and sqlite 2019-03-06 23:03:19 +01:00
types Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
whatsapp-ext Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
.editorconfig Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
.gitignore Initial desegregation of users and automatic config updating 2018-08-29 00:40:54 +03:00
commands.go Disallow using session commands when not logged in 2019-03-15 15:45:27 +01:00
docker-run.sh Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
Dockerfile Fix Dockerfile 2019-02-10 12:17:35 +01:00
example-config.yaml Set name for status broadcast room when creating and reformat example config 2019-03-14 00:54:05 +02:00
formatting.go Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
go.mod Update go-whatsapp. Fixes #35 2019-03-14 01:15:39 +02:00
go.sum Update go-whatsapp. Fixes #35 2019-03-14 01:15:39 +02:00
LICENSE Initial commit 2018-08-12 22:26:05 +03:00
main.go Update go-whatsapp. Fixes #35 2019-03-14 01:15:39 +02:00
matrix.go Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
portal.go Set name for status broadcast room when creating and reformat example config 2019-03-14 00:54:05 +02:00
puppet.go Add a bunch of new logging 2019-01-21 23:55:16 +02:00
README.md Update README.md 2018-08-25 01:01:58 +03:00
ROADMAP.md Update ROADMAP.md 2018-09-11 19:39:52 +03:00
statestore.go Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
user.go Update go-whatsapp. Fixes #35 2019-03-14 01:15:39 +02:00

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