session profile decoupled.

This commit is contained in:
Miroslav Šedivý 2021-03-14 00:45:51 +01:00
parent 7d4f7694b9
commit 4a28307c1e
15 changed files with 38 additions and 79 deletions

View file

@ -7,7 +7,7 @@ import (
)
func (h *MessageHandlerCtx) signalRequest(session types.Session) error {
if !session.CanWatch() {
if !session.Profile().CanWatch {
return nil
}