mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-06 03:28:12 -05:00
refac
This commit is contained in:
1 parent
62849662d9
commit
553b18a34d
10 files changed
+81
-46
No files matched your search
@@ -156,8 +156,13 @@ class Relay:
|
||||
|
||||
async def invite(self, state, channel):
|
||||
await self.sio.emit(
|
||||
'encryption:available',
|
||||
{'channel': channel, 'session': state['session'] if state else None},
|
||||
'events',
|
||||
{
|
||||
'data': {
|
||||
'type': 'encryption:available',
|
||||
'data': {'channel': channel, 'session': state['session'] if state else None},
|
||||
}
|
||||
},
|
||||
room=f'channel:{channel}',
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user