summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-12-07 15:13:31 -0800
committer=Corey Hulen <corey@hulen.com>2015-12-07 15:13:31 -0800
commit2ab13b7ad3ffee6670a7a74fa7184735e84e77d9 (patch)
treea97c952dfc707026a267d8205b31382ebf7bc2fd /store
parentb06f11fd632f146a204b4ef1357a8c099bade072 (diff)
downloadchat-2ab13b7ad3ffee6670a7a74fa7184735e84e77d9.tar.gz
chat-2ab13b7ad3ffee6670a7a74fa7184735e84e77d9.tar.bz2
chat-2ab13b7ad3ffee6670a7a74fa7184735e84e77d9.zip
PLT-1302 fixing hiding email adddress
Diffstat (limited to 'store')
-rw-r--r--store/sql_channel_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_channel_store.go b/store/sql_channel_store.go
index 2cbec705b..728f44bc9 100644
--- a/store/sql_channel_store.go
+++ b/store/sql_channel_store.go
@@ -592,7 +592,7 @@ func (s SqlChannelStore) GetExtraMembers(channelId string, limit int) StoreChann
result.Err = model.NewAppError("SqlChannelStore.GetExtraMembers", "We couldn't get the extra info for channel members", "channel_id="+channelId+", "+err.Error())
} else {
for i := range members {
- members[i].Sanitize(utils.SanitizeOptions)
+ members[i].Sanitize(utils.Cfg.GetSanitizeOptions())
}
result.Data = members
}