mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-04 20:03:04 +02:00
SetProfile changed as Update.
This commit is contained in:
parent
22407825fe
commit
a6fbafc079
4 changed files with 21 additions and 8 deletions
|
@ -59,11 +59,6 @@ func (session *SessionCtx) CanAccessClipboard() bool {
|
|||
return session.profile.CanAccessClipboard
|
||||
}
|
||||
|
||||
func (session *SessionCtx) SetProfile(profile types.MemberProfile) {
|
||||
session.profile = profile
|
||||
session.manager.emmiter.Emit("profile_changed", session)
|
||||
}
|
||||
|
||||
// ---
|
||||
// runtime
|
||||
// ---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue