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
2019-02-10 12:17:35 +01:00
2019-03-14 01:15:39 +02:00
2019-03-14 01:15:39 +02:00
2018-08-12 22:26:05 +03:00
2019-03-14 01:15:39 +02:00
2019-01-21 23:55:16 +02:00
2018-08-25 01:01:58 +03:00
2018-09-11 19:39:52 +03:00
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

Description
A Matrix-GroupMe puppeting bridge
Readme 7.1 MiB
Languages
Go 99.1%
Shell 0.6%
Dockerfile 0.3%