diff options
author | Debanshu Kundu <debanshu.kundu@joshtechnologygroup.com> | 2017-07-31 23:47:21 +0530 |
---|---|---|
committer | Saturnino Abril <saturnino.abril@gmail.com> | 2017-08-01 02:17:21 +0800 |
commit | 8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c (patch) | |
tree | 28496b27f4da93baa8707bf0690ef88f8cdcc178 /store/store.go | |
parent | 59992ae4a4638006ec1489dd834151b258c1728c (diff) | |
download | chat-8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c.tar.gz chat-8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c.tar.bz2 chat-8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c.zip |
#4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945)
fix 7 and 8
remove @ at "{username} joined the channel"
refactor and update test
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index d883ea5a2..9824ec213 100644 --- a/store/store.go +++ b/store/store.go @@ -170,6 +170,7 @@ type PostStore interface { Overwrite(post *model.Post) StoreChannel GetPostsByIds(postIds []string) StoreChannel GetPostsBatchForIndexing(startTime int64, limit int) StoreChannel + GetLastPostForChannel(channelId string) StoreChannel } type UserStore interface { |