diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-06-29 08:14:02 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-06-29 08:14:02 -0400 |
commit | 0792eb18d535410b456f3cc569e243efb85a47b6 (patch) | |
tree | 4ea6caf1e890703b4bb4e727ebce0099dfc88327 /model/channel_list.go | |
parent | afb62bb40a012a7e00707f384020e1431abca1ed (diff) | |
parent | 366557b101f318b69ad854349c2414783ce1c82a (diff) | |
download | chat-0792eb18d535410b456f3cc569e243efb85a47b6.tar.gz chat-0792eb18d535410b456f3cc569e243efb85a47b6.tar.bz2 chat-0792eb18d535410b456f3cc569e243efb85a47b6.zip |
Merge pull request #49 from mattermost/mm-1316
fixes mm-1316 improves channel notifications UI and updates channellist etag
Diffstat (limited to 'model/channel_list.go')
-rw-r--r-- | model/channel_list.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/model/channel_list.go b/model/channel_list.go index 088dbea2a..09f14a986 100644 --- a/model/channel_list.go +++ b/model/channel_list.go @@ -53,6 +53,12 @@ func (o *ChannelList) Etag() string { t = member.LastViewedAt id = v.Id } + + if member.LastUpdateAt > t { + t = member.LastUpdateAt + id = v.Id + } + } } |