Skip to content

Commit

Permalink
fix onlyInTeam on emojisource
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaxim committed Apr 1, 2020
1 parent 244cb1f commit 8cf3a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/chat/emojisource.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func (s *DevConvEmojiSource) getNoSet(ctx context.Context, uid gregor1.UID, conv
}
convs := ibox.Convs
addEmojis := func(convs []chat1.ConversationLocal, isCrossTeam bool) {
if opts.OnlyInTeam {
if opts.OnlyInTeam && isCrossTeam {
return
}
for _, conv := range convs {
Expand Down

0 comments on commit 8cf3a84

Please sign in to comment.