sorry guys... lambda is now a snapchat client.....
This commit is contained in:
+6
-1
@@ -116,6 +116,7 @@ func generateMessageWidget(p stanza.Packet, blocked bool) (gtk.Widgetter, bool)
|
||||
id := JidMustParse(m.From).Resource
|
||||
|
||||
name := id
|
||||
|
||||
custom_nick, ok := loadedConfig.CustomNicks[ocu.ID]
|
||||
if ok {
|
||||
name = custom_nick
|
||||
@@ -255,7 +256,11 @@ func generateMessageWidget(p stanza.Packet, blocked bool) (gtk.Widgetter, bool)
|
||||
al.SetVAlign(gtk.AlignStart)
|
||||
mainBox.Append(al)
|
||||
|
||||
mlabel := gtk.NewLabel(m.Body)
|
||||
body := m.Body
|
||||
body = XEPToPango(body)
|
||||
|
||||
mlabel := gtk.NewLabel("")
|
||||
mlabel.SetMarkup(body)
|
||||
|
||||
mlabel.SetWrap(true)
|
||||
mlabel.SetSelectable(true)
|
||||
|
||||
Reference in New Issue
Block a user