mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-17 11:07:12 +02:00
session profile decoupled.
This commit is contained in:
parent
7d4f7694b9
commit
4a28307c1e
15 changed files with 38 additions and 79 deletions
|
@ -29,8 +29,8 @@ func (h *MessageHandlerCtx) systemInit(session types.Session) error {
|
|||
sessionId := session.ID()
|
||||
sessions[sessionId] = message.SessionData{
|
||||
ID: sessionId,
|
||||
Profile: session.GetProfile(),
|
||||
State: session.GetState(),
|
||||
Profile: session.Profile(),
|
||||
State: session.State(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue