mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-15 16:39:26 +01:00
921f2dfcdf
* 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
46 lines
1.5 KiB
Go
46 lines
1.5 KiB
Go
package bridgemap
|
|
|
|
import (
|
|
"github.com/42wim/matterbridge/bridge"
|
|
"github.com/42wim/matterbridge/bridge/api"
|
|
bdiscord "github.com/42wim/matterbridge/bridge/discord"
|
|
bgitter "github.com/42wim/matterbridge/bridge/gitter"
|
|
birc "github.com/42wim/matterbridge/bridge/irc"
|
|
bkeybase "github.com/42wim/matterbridge/bridge/keybase"
|
|
bmatrix "github.com/42wim/matterbridge/bridge/matrix"
|
|
bmattermost "github.com/42wim/matterbridge/bridge/mattermost"
|
|
brocketchat "github.com/42wim/matterbridge/bridge/rocketchat"
|
|
bslack "github.com/42wim/matterbridge/bridge/slack"
|
|
bsshchat "github.com/42wim/matterbridge/bridge/sshchat"
|
|
bsteam "github.com/42wim/matterbridge/bridge/steam"
|
|
btelegram "github.com/42wim/matterbridge/bridge/telegram"
|
|
bwhatsapp "github.com/42wim/matterbridge/bridge/whatsapp"
|
|
bxmpp "github.com/42wim/matterbridge/bridge/xmpp"
|
|
bzulip "github.com/42wim/matterbridge/bridge/zulip"
|
|
)
|
|
|
|
var (
|
|
FullMap = map[string]bridge.Factory{
|
|
"api": api.New,
|
|
"discord": bdiscord.New,
|
|
"gitter": bgitter.New,
|
|
"irc": birc.New,
|
|
"mattermost": bmattermost.New,
|
|
"matrix": bmatrix.New,
|
|
"rocketchat": brocketchat.New,
|
|
"slack-legacy": bslack.NewLegacy,
|
|
"slack": bslack.New,
|
|
"sshchat": bsshchat.New,
|
|
"steam": bsteam.New,
|
|
"telegram": btelegram.New,
|
|
"whatsapp": bwhatsapp.New,
|
|
"xmpp": bxmpp.New,
|
|
"zulip": bzulip.New,
|
|
"keybase": bkeybase.New,
|
|
}
|
|
|
|
UserTypingSupport = map[string]struct{}{
|
|
"slack": {},
|
|
}
|
|
)
|