Add support for soju.im/filehost
For now, only handle paste events containing files. Co-authored-by: Alex McGrath <amk@amk.ie>
This commit is contained in:
parent
97b9efcc9f
commit
87e88cccca
3 changed files with 93 additions and 0 deletions
|
@ -1967,6 +1967,11 @@ export default class App extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
let activeClient = null;
|
||||
if (activeBuffer) {
|
||||
activeClient = this.clients.get(activeBuffer.server);
|
||||
}
|
||||
|
||||
if (this.state.connectForm) {
|
||||
let status = activeServer ? activeServer.status : ServerStatus.DISCONNECTED;
|
||||
let connecting = status === ServerStatus.CONNECTING || status === ServerStatus.REGISTERING;
|
||||
|
@ -2208,6 +2213,7 @@ export default class App extends Component {
|
|||
${memberList}
|
||||
<${Composer}
|
||||
ref=${this.composer}
|
||||
client=${activeClient}
|
||||
readOnly=${composerReadOnly}
|
||||
onSubmit=${this.handleComposerSubmit}
|
||||
autocomplete=${this.autocomplete}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue