mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Added username to ChannelMemberHistory struct in anticipation of supporting GlobalRelay in Compliance Export * Removed translation from debug output - this makes it complicated to use utils functions from tests in the enterprise repo * Added an advanced email function that allows for greater control over message details. Updated MessageExport config to support GlobalRelay. Added attachment support to InBucket unit tests * Moving templates in from enterprise to solve test issues * Added export format to diagnostics * Changed email attachment code to use FileBackend so that S3 storage is properly supported
16 lines
384 B
Go
16 lines
384 B
Go
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
package model
|
|
|
|
type ChannelMemberHistory struct {
|
|
ChannelId string
|
|
UserId string
|
|
JoinTime int64
|
|
LeaveTime *int64
|
|
|
|
// these two fields are never set in the database - when we SELECT, we join on Users to get them
|
|
UserEmail string `db:"Email"`
|
|
Username string
|
|
}
|