aboutsummaryrefslogtreecommitdiff
path: root/process.go
diff options
context:
space:
mode:
authorRiley <riley@e926.de>2022-05-11 11:17:37 +0200
committerRiley <riley@e926.de>2022-05-11 11:17:37 +0200
commit562f6889652d87fd31f440204c6a5b564e7ccc33 (patch)
treee6a3f120b514f04ad7c95292957513903dffcd69 /process.go
parent308b7ae083264c2d3a6411335f8e60921173c370 (diff)
requested changes
Diffstat (limited to 'process.go')
-rw-r--r--process.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/process.go b/process.go
index b576143..806dacd 100644
--- a/process.go
+++ b/process.go
@@ -438,13 +438,13 @@ func (cc *ClientConn) process(pkt mt.Pkt) {
return
}
- if handleInteraction(cmd, cc) { // if return true: already handled
- return
- }
-
if _, ok := cmd.Pointed.(*mt.PointedAO); ok {
srv.swapAOID(&cmd.Pointed.(*mt.PointedAO).ID)
}
+
+ if handleInteraction(cmd, cc) { // if return true: already handled
+ return
+ }
case *mt.ToSrvChatMsg:
done := make(chan struct{})
@@ -741,7 +741,7 @@ func (sc *ServerConn) process(pkt mt.Pkt) {
return
case *mt.ToCltMediaPush:
prepend(sc.mediaPool, &cmd.Filename)
-
+
var exit bool
for _, f := range clt.media {
if f.name == cmd.Filename {