velour / chat

An easy-to-use client for Slack, Telegram, IRC, or all at once!
7 stars 0 forks source link

bridge: nil pointer dereference if edited message is not in the history #81

Closed eaburns closed 7 years ago

eaburns commented 7 years ago

Chris Sexton: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4df531]

goroutine 132 [running]: panic(0x6ada60, 0xc420010190) /home/cws/go/src/runtime/panic.go:500 +0x1a1 github.com/velour/chat/bridge.relay(0x85ac60, 0xc420388340, 0xc420307030, 0x85c7 cae20, 0xc4203732c0, 0x0, 0x0) /home/cws/src/github.com/velour/chat/bridge/bridge.go:244 +0x6b1 github.com/velour/chat/bridge.mux(0x85ac60, 0xc420388340, 0xc4203e13e0, 0xc42030 /home/cws/src/github.com/velour/chat/bridge/bridge.go:143 +0x254 created by github.com/velour/chat/bridge.New /home/cws/src/github.com/velour/chat/