fix: request channel info on window open
This commit is contained in:
parent
7ec653f709
commit
db772c01e8
|
@ -705,6 +705,10 @@ internal class PluginUi : IDisposable {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui.TableSetColumnIndex(1) && this._selectedChannel != Guid.Empty) {
|
if (ImGui.TableSetColumnIndex(1) && this._selectedChannel != Guid.Empty) {
|
||||||
|
if (ImGui.IsWindowAppearing()) {
|
||||||
|
Task.Run(async () => await this.Plugin.Client.ListMembers(this._selectedChannel));
|
||||||
|
}
|
||||||
|
|
||||||
void DrawInfo() {
|
void DrawInfo() {
|
||||||
if (!this.Plugin.Client.TryGetChannel(this._selectedChannel, out var channel)) {
|
if (!this.Plugin.Client.TryGetChannel(this._selectedChannel, out var channel)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user