mirror of
https://git.sr.ht/~emersion/gamja
synced 2025-03-25 06:21:18 -04:00
Query WHO when switching to a user buffer without info
Closes: https://todo.sr.ht/~emersion/gamja/101
This commit is contained in:
parent
329f9063d0
commit
da4da01e34
1 changed files with 5 additions and 0 deletions
|
@ -326,6 +326,11 @@ export default class App extends Component {
|
|||
server: client.params,
|
||||
unread: Unread.NONE,
|
||||
});
|
||||
|
||||
let server = this.state.servers.get(buf.server);
|
||||
if (buf.type === BufferType.NICK && !server.users.has(buf.name)) {
|
||||
this.whoUserBuffer(buf.name, buf.server);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue