* Fix teams unread

* Moving logic out of the store

* fix unit test
Этот коммит содержится в:
enahum
2016-12-21 16:20:11 -03:00
коммит произвёл Corey Hulen
родитель dce4205699
Коммит 139cb52c99
4 изменённых файлов: 65 добавлений и 19 удалений

Просмотреть файл

@@ -18,6 +18,14 @@ const (
CHANNEL_MARK_UNREAD_MENTION = "mention"
)
type ChannelUnread struct {
TeamId string
TotalMsgCount int64
MsgCount int64
MentionCount int64
NotifyProps StringMap
}
type ChannelMember struct {
ChannelId string `json:"channel_id"`
UserId string `json:"user_id"`