Update dependencies

This commit is contained in:
Wim
2021-10-17 00:25:54 +02:00
parent 61bab22dde
commit e5316661a1
400 changed files with 15925 additions and 16013 deletions

View File

@@ -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)
}
}