Create direct message respect the user role (Guest/Normal user) (#11697)
* Create direct message respect the user role (Guest/Normal user) * Fixing build * Updating Timer store layer
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
619f0ebf5c
Коммит
2df3951f6f
@@ -583,7 +583,7 @@ func (s *TimerLayerChannelStore) ClearCaches() {
|
||||
return
|
||||
}
|
||||
|
||||
func (s *TimerLayerChannelStore) CreateDirectChannel(userId string, otherUserId string) (*model.Channel, *model.AppError) {
|
||||
func (s *TimerLayerChannelStore) CreateDirectChannel(userId *model.User, otherUserId *model.User) (*model.Channel, *model.AppError) {
|
||||
start := timemodule.Now()
|
||||
|
||||
resultVar0, resultVar1 := s.ChannelStore.CreateDirectChannel(userId, otherUserId)
|
||||
|
||||
Ссылка в новой задаче
Block a user