make slack attachments gobable (#7948)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
7cefef6d21
Коммит
eb027c0d3b
@@ -4,6 +4,7 @@
|
||||
package rpcplugin
|
||||
|
||||
import (
|
||||
"encoding/gob"
|
||||
"encoding/json"
|
||||
"io"
|
||||
"net/http"
|
||||
@@ -582,3 +583,7 @@ func ConnectAPI(conn io.ReadWriteCloser, muxer *Muxer) *RemoteAPI {
|
||||
|
||||
return remoteApi
|
||||
}
|
||||
|
||||
func init() {
|
||||
gob.Register([]*model.SlackAttachment{})
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user