format code
This commit is contained in:
+2
-3
@@ -12,12 +12,12 @@ import (
|
||||
"github.com/google/uuid"
|
||||
"github.com/jasonlovesdoggo/gopen"
|
||||
"gosrc.io/xmpp/stanza"
|
||||
xmpp_color "mellium.im/xmpp/color"
|
||||
"mellium.im/xmpp/jid"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
xmpp_color "mellium.im/xmpp/color"
|
||||
)
|
||||
|
||||
func generatePresenceWidget(p stanza.Packet) gtk.Widgetter {
|
||||
@@ -127,7 +127,7 @@ func generateMessageWidget(p stanza.Packet) gtk.Widgetter {
|
||||
enter_custom.SetHExpand(true)
|
||||
enter_custom.ConnectClicked(func() {
|
||||
|
||||
client.SendRaw(fmt.Sprintf(`
|
||||
client.SendRaw(fmt.Sprintf(`
|
||||
<message from='%s' to='%s' id='%s' type='%s'>
|
||||
<reactions id='%s' xmlns='urn:xmpp:reactions:0'>
|
||||
<reaction>%s</reaction>
|
||||
@@ -137,7 +137,6 @@ func generateMessageWidget(p stanza.Packet) gtk.Widgetter {
|
||||
})
|
||||
rc_box.Append(custom)
|
||||
rc_box.Append(enter_custom)
|
||||
|
||||
|
||||
quote := gtk.NewButtonWithLabel("Quote")
|
||||
quote.ConnectClicked(func() {
|
||||
|
||||
Reference in New Issue
Block a user