forked from cwtch.im/ui
load groups faster
This commit is contained in:
parent
ba9d712f54
commit
7421197b8f
|
@ -108,6 +108,10 @@ func (this *GrandCentralDispatcher) sendMessage(message string, mID uint) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *GrandCentralDispatcher) loadMessagesPane(handle string) {
|
func (this *GrandCentralDispatcher) loadMessagesPane(handle string) {
|
||||||
|
go this.loadMessagesPaneHelper(handle)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *GrandCentralDispatcher) loadMessagesPaneHelper(handle string) {
|
||||||
this.ClearMessages()
|
this.ClearMessages()
|
||||||
this.SetCurrentOpenConversation(handle)
|
this.SetCurrentOpenConversation(handle)
|
||||||
c := this.UIState.GetContact(handle)
|
c := this.UIState.GetContact(handle)
|
||||||
|
|
Loading…
Reference in New Issue