diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-06-22 14:23:59 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-06-29 07:45:12 -0400 |
commit | 2b4888d062d65546325470d2d9181f4a66a2fb00 (patch) | |
tree | 23cb6c57a055370256cb7e71781e75412b681b3c /model/channel_list.go | |
parent | afb62bb40a012a7e00707f384020e1431abca1ed (diff) | |
download | chat-2b4888d062d65546325470d2d9181f4a66a2fb00.tar.gz chat-2b4888d062d65546325470d2d9181f4a66a2fb00.tar.bz2 chat-2b4888d062d65546325470d2d9181f4a66a2fb00.zip |
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 + } + } } |