4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-03 23:37:44 +00:00

Add initial Keybase Chat support (#877)

* initial work on native keybase bridging

* Hopefully make a functional keybase bridge

* add keybase to bridgemap

* send to right channel, try to figure out received msgs

* add account and userid

* i am a Dam Fool

* Fix formatting for messages, handle /me

* update vendors, ran golint and goimports

* move handlers to handlers.go, clean up unused config options

* add sample config, fix inconsistent remote nick handling

* Update readme with keybase links

* Resolve fixmie errors

* Error -> Errorf

* fix linting errors in go.mod and go.sum

* explicitly join channels, ignore messages from non-specified channels

* check that team names match before bridging message
This commit is contained in:
cori hudson
2019-08-26 15:00:31 -04:00
committed by Wim
parent 79a006c8de
commit 921f2dfcdf
152 changed files with 5407 additions and 565 deletions

View File

@ -135,7 +135,7 @@ TEXT ·chaCha20_ctr32_vmx(SB),NOSPLIT|NOFRAME,$0
MOVD inp+8(FP), INP
MOVD len+16(FP), LEN
MOVD key+24(FP), KEY
MOVD cnt+32(FP), CNT
MOVD counter+32(FP), CNT
MOVD $·consts(SB), CONSTS // point to consts addr

View File

@ -8,9 +8,10 @@ package chacha20
import "encoding/binary"
var haveAsm = true
const bufSize = 256
const (
bufSize = 256
haveAsm = true
)
//go:noescape
func chaCha20_ctr32_vmx(out, inp *byte, len int, key *[8]uint32, counter *uint32)