Created handleTranslation func. Added IsTranslation key to Message struct.
This commit is contained in:
@@ -37,7 +37,8 @@ type Message struct {
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
ID string `json:"id"`
|
||||
Extra map[string][]interface{}
|
||||
TranslationSrcMsg *Message
|
||||
OrigMsg *Message
|
||||
IsTranslation bool
|
||||
}
|
||||
|
||||
type FileInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user