NOBODYSETISGONELETSGO
This commit is contained in:
1 parent
3bb74eb672
commit
b07f92853d
2 files changed
+18
-10
No files matched your search
@@ -293,7 +293,6 @@ func main() {
|
||||
typed_tab := tab.(*chatTab)
|
||||
|
||||
if ok {
|
||||
typed_tab.msgs.Append(b)
|
||||
if current == JidMustParse(m.From).Bare() {
|
||||
scrollToBottomAfterUpdate(scroller)
|
||||
}
|
||||
@@ -301,10 +300,13 @@ func main() {
|
||||
fmt.Println("Got message when the tab does not exist!")
|
||||
}
|
||||
|
||||
ba, ok := generateMessageWidget(p).(*gtk.Box)
|
||||
if ok {
|
||||
untyped_box, valid := generateMessageWidget(p)
|
||||
ba, converted_successfully := untyped_box.(*gtk.Box)
|
||||
|
||||
if valid && converted_successfully {
|
||||
typed_tab.msgs.Append(b)
|
||||
b.Append(ba)
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user