mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-04 12:27:44 +00:00
Update dependencies (#1610)
* Update dependencies * Update module to go 1.17
This commit is contained in:
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/chat.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/chat.go
generated
vendored
@ -114,7 +114,7 @@ func (a *API) GetTextMessages(channel chat1.ChatChannel, unreadOnly bool) ([]cha
|
||||
|
||||
var res []chat1.MsgSummary
|
||||
for _, msg := range thread.Result.Messages {
|
||||
if msg.Msg.Content.TypeName == "text" {
|
||||
if msg.Msg != nil && msg.Msg.Content.TypeName == "text" {
|
||||
res = append(res, *msg.Msg)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user